diff options
author | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 15:12:32 +0000 |
---|---|---|
committer | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 15:12:32 +0000 |
commit | dc98bb2643a9df4a6ca0f4a2b10ca3f30e071a6f (patch) | |
tree | 3b1f29e46ae4b7151ef9f0c9f492f001c5a1a2a4 /chromeos/dbus/shill_service_client.h | |
parent | 8f64625aa018c789968f2ae65ccf707abb341125 (diff) | |
download | chromium_src-dc98bb2643a9df4a6ca0f4a2b10ca3f30e071a6f.zip chromium_src-dc98bb2643a9df4a6ca0f4a2b10ca3f30e071a6f.tar.gz chromium_src-dc98bb2643a9df4a6ca0f4a2b10ca3f30e071a6f.tar.bz2 |
Added ClearProperties to the Shill service client.
Must be committed only after the corresponding service_constants.h
change goes in.
BUG=chromium-os:35900
TEST=built
Review URL: https://chromiumcodereview.appspot.com/11364089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_service_client.h')
-rw-r--r-- | chromeos/dbus/shill_service_client.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chromeos/dbus/shill_service_client.h b/chromeos/dbus/shill_service_client.h index 44fb9ba..07c1cba 100644 --- a/chromeos/dbus/shill_service_client.h +++ b/chromeos/dbus/shill_service_client.h @@ -37,10 +37,11 @@ class CHROMEOS_EXPORT ShillServiceClient { public: typedef ShillClientHelper::PropertyChangedHandler PropertyChangedHandler; typedef ShillClientHelper::DictionaryValueCallback DictionaryValueCallback; + typedef ShillClientHelper::ListValueCallback ListValueCallback; typedef ShillClientHelper::ErrorCallback ErrorCallback; - // Interface for setting up services for testing. - // Accessed through GetTestInterface(), only implemented in the Stub Impl. + // Interface for setting up services for testing. Accessed through + // GetTestInterface(), only implemented in the stub implementation. class TestInterface { public: virtual void AddService(const std::string& service_path, @@ -93,6 +94,13 @@ class CHROMEOS_EXPORT ShillServiceClient { const base::Closure& callback, const ErrorCallback& error_callback) = 0; + // Calls ClearProperties method. + // |callback| is called after the method call succeeds. + virtual void ClearProperties(const dbus::ObjectPath& service_path, + const std::vector<std::string>& names, + const ListValueCallback& callback, + const ErrorCallback& error_callback) = 0; + // Calls Connect method. // |callback| is called after the method call succeeds. virtual void Connect(const dbus::ObjectPath& service_path, |