diff options
author | mukesh agrawal <quiche@chromium.org> | 2015-08-20 12:07:47 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-20 23:26:52 +0000 |
commit | c80c460b90378124cc945b0b1f619d86949000a7 (patch) | |
tree | 916e241385e6e8b5b80bd445dc990bfedb2d7796 /profile.h | |
parent | 04147470fdeaaf9ab7588bd3a7988d74aa990068 (diff) | |
download | shill-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.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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(); |