shill: KeyFileStore: remove GLib argument
KeyFileStore no longer makes use of the GLib*
argument passed to the ctor. So remove the
argument, and update callers appropriately.
BUG=chromium:23386647
TEST="FEATURES=test emerge-samus shill"
TEST="USE=json_store FEATURES=test emerge-samus shill"
Change-Id: I781c0db876020452d82b3a34176826933c18b779
Reviewed-on: https://chromium-review.googlesource.com/295579
Commit-Ready: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
diff --git a/key_file_store.cc b/key_file_store.cc
index 45d27f6..70dd50a 100644
--- a/key_file_store.cc
+++ b/key_file_store.cc
@@ -11,7 +11,6 @@
#include <base/strings/string_number_conversions.h>
#include <base/strings/stringprintf.h>
#include <fcntl.h>
-#include <glib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
@@ -46,9 +45,8 @@
const char KeyFileStore::kCorruptSuffix[] = ".corrupted";
-KeyFileStore::KeyFileStore(GLib* glib)
- : glib_(glib),
- crypto_(),
+KeyFileStore::KeyFileStore()
+ : crypto_(),
key_file_(nullptr) {}
KeyFileStore::~KeyFileStore() {