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

Unified Diff: chromeos/dbus/mock_shill_service_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/mock_shill_profile_client.h ('k') | chromeos/dbus/shill_client_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_shill_service_client.h
diff --git a/chromeos/dbus/mock_shill_service_client.h b/chromeos/dbus/mock_shill_service_client.h
index d8dfb0b97a1a2d6143ef549a293bd8d746889882..12d14bbe78ef55e48c9d43891b2352f1497e10c5 100644
--- a/chromeos/dbus/mock_shill_service_client.h
+++ b/chromeos/dbus/mock_shill_service_client.h
@@ -26,24 +26,29 @@ class MockShillServiceClient : public ShillServiceClient {
ShillPropertyChangedObserver* observer));
MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& service_path,
const DictionaryValueCallback& callback));
- MOCK_METHOD4(SetProperty, void(const dbus::ObjectPath& service_path,
+ MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& service_path,
const std::string& name,
const base::Value& value,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& service_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD4(ClearProperty, void(const dbus::ObjectPath& service_path,
const std::string& name,
- const VoidDBusMethodCallback& callback));
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path,
const base::Closure& callback,
const ErrorCallback& error_callback));
- MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD3(ActivateCellularModem,
+ MOCK_METHOD3(Disconnect, void(const dbus::ObjectPath& service_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD3(Remove, void(const dbus::ObjectPath& service_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD4(ActivateCellularModem,
void(const dbus::ObjectPath& service_path,
const std::string& carrier,
- const VoidDBusMethodCallback& callback));
+ const base::Closure& callback,
+ const ErrorCallback& error_callback));
MOCK_METHOD2(CallActivateCellularModemAndBlock,
bool(const dbus::ObjectPath& service_path,
const std::string& carrier));
« no previous file with comments | « chromeos/dbus/mock_shill_profile_client.h ('k') | chromeos/dbus/shill_client_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698