summaryrefslogtreecommitdiff
path: root/profile.h
diff options
context:
space:
mode:
authormukesh agrawal <quiche@chromium.org>2015-08-20 12:07:47 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-20 23:26:52 +0000
commitc80c460b90378124cc945b0b1f619d86949000a7 (patch)
tree916e241385e6e8b5b80bd445dc990bfedb2d7796 /profile.h
parent04147470fdeaaf9ab7588bd3a7988d74aa990068 (diff)
downloadshill-c80c460b90378124cc945b0b1f619d86949000a7.tar.gz
shill: Profile: remove unnecessary GLib argument
Since StoreFactory now handles the instantiation of KeyFileStore, Profile no longer needs a GLib argument to InitStorage(). So remove it. While there: remove the GLib argument to RemoveStorage(). It seems that argument was never used. BUG=b:23386647 TEST=unit tests Change-Id: Ic81f647dd51865b08811f529850b869c40778966 Reviewed-on: https://chromium-review.googlesource.com/294861 Trybot-Ready: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/profile.h b/profile.h
index c04cbd2c..08e68c14 100644
--- a/profile.h
+++ b/profile.h
@@ -27,7 +27,6 @@ namespace shill {
class ControlInterface;
class Error;
-class GLib;
class Manager;
class Metrics;
class ProfileAdaptorInterface;
@@ -70,8 +69,7 @@ class Profile : public base::RefCounted<Profile> {
virtual ~Profile();
// Set up persistent storage for this Profile.
- bool InitStorage(GLib* glib,
- InitStorageOption storage_option,
+ bool InitStorage(InitStorageOption storage_option,
Error* error);
// Set up stub storage for this Profile. The data will NOT be
@@ -81,7 +79,7 @@ class Profile : public base::RefCounted<Profile> {
// Remove the persistent storage for this Profile. It is an error to
// do so while the underlying storage is open via InitStorage() or
// set_storage().
- bool RemoveStorage(GLib* glib, Error* error);
+ bool RemoveStorage(Error* error);
virtual std::string GetFriendlyName();