Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: chromeos/dbus/mock_shill_device_client.h

Issue 10949030: This converts the Shill clients to allow propagation of shill errors (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review changes Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/mock_shill_device_client.h
diff --git a/chromeos/dbus/mock_shill_device_client.h b/chromeos/dbus/mock_shill_device_client.h
index 81c7d30f0ad42f404ba21f862d018f64a2dea86e..bce95649b3cec8fc2db6e8affa13a759102a7afc 100644
--- a/chromeos/dbus/mock_shill_device_client.h
+++ b/chromeos/dbus/mock_shill_device_client.h
@@ -28,16 +28,17 @@ class MockShillDeviceClient : public ShillDeviceClient {
base::DictionaryValue*(const dbus::ObjectPath& device_path));
MOCK_METHOD2(ProposeScan, void(const dbus::ObjectPath& device_path,
const VoidDBusMethodCallback& callback));
- MOCK_METHOD4(SetProperty, void(const dbus::ObjectPath& device_path,
+ MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& device_path,
const std::string& name,
const base::Value& value,
- const VoidDBusMethodCallback& callback));
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& device_path,
const std::string& name,
const VoidDBusMethodCallback& callback));
MOCK_METHOD3(AddIPConfig, void(const dbus::ObjectPath& device_path,
const std::string& method,
- const ObjectPathDBusMethodCallback& callback));
+ const ObjectPathCallback& callback));
MOCK_METHOD2(CallAddIPConfigAndBlock,
dbus::ObjectPath(const dbus::ObjectPath& device_path,
const std::string& method));

Powered by Google App Engine
This is Rietveld 408576698