shill: PendingActivationStore: remove unused glib
An earlier CL migrated InitStorage() to use StoreFactory
instead of instantiating KeyFileStore directly. With
that change, InitStorage() no longer needs the |glib|
parameter.
Remove the unused parameter, and update calling code
accordingly.
BUG=b:23386647
TEST=compile
Change-Id: I1f3f3f47c76c9dc7e5fee420d67939dfe0f65023
Reviewed-on: https://chromium-review.googlesource.com/295575
Commit-Ready: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
diff --git a/pending_activation_store.cc b/pending_activation_store.cc
index 5eb0b25..46b8340 100644
--- a/pending_activation_store.cc
+++ b/pending_activation_store.cc
@@ -79,18 +79,12 @@
}
}
-bool PendingActivationStore::InitStorage(
- GLib* glib,
- const FilePath& storage_path) {
+bool PendingActivationStore::InitStorage(const FilePath& storage_path) {
// Close the current file.
if (storage_.get()) {
storage_->Flush();
storage_.reset(); // KeyFileStore closes the file in its destructor.
}
- if (!glib) {
- LOG(ERROR) << "Null pointer passed for |glib|.";
- return false;
- }
if (storage_path.empty()) {
LOG(ERROR) << "Empty storage directory path provided.";
return false;