summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_service_client.h
diff options
context:
space:
mode:
authorgspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 15:12:32 +0000
committergspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 15:12:32 +0000
commitdc98bb2643a9df4a6ca0f4a2b10ca3f30e071a6f (patch)
tree3b1f29e46ae4b7151ef9f0c9f492f001c5a1a2a4 /chromeos/dbus/shill_service_client.h
parent8f64625aa018c789968f2ae65ccf707abb341125 (diff)
downloadchromium_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.h12
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,