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

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: Fix bad merge 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
« no previous file with comments | « chromeos/dbus/dbus_method_call_status.h ('k') | chromeos/dbus/mock_shill_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1f0533a3a3debd9f6d970b6c12165ba4f1bf4093..fa0372cbe21d6c8c36cfb833ef3188443d0b2a67 100644
--- a/chromeos/dbus/mock_shill_device_client.h
+++ b/chromeos/dbus/mock_shill_device_client.h
@@ -30,10 +30,11 @@ 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));
« no previous file with comments | « chromeos/dbus/dbus_method_call_status.h ('k') | chromeos/dbus/mock_shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698