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

Unified Diff: chromeos/dbus/mock_shill_network_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: 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_network_client.h
diff --git a/chromeos/dbus/mock_shill_network_client.h b/chromeos/dbus/mock_shill_network_client.h
index de701b9f9ffbe57bc8bc2e99745c6509424d14bb..0d82e793dd8686a8715e6e6649881c21c5ab451e 100644
--- a/chromeos/dbus/mock_shill_network_client.h
+++ b/chromeos/dbus/mock_shill_network_client.h
@@ -16,11 +16,12 @@ class MockShillNetworkClient : public ShillNetworkClient {
MockShillNetworkClient();
virtual ~MockShillNetworkClient();
- MOCK_METHOD2(SetPropertyChangedHandler,
+ MOCK_METHOD2(AddPropertyChangedObserver,
void(const dbus::ObjectPath& network_path,
- const PropertyChangedHandler& handler));
- MOCK_METHOD1(ResetPropertyChangedHandler,
- void(const dbus::ObjectPath& network_path));
+ PropertyChangedObserver* observer));
+ MOCK_METHOD2(RemovePropertyChangedObserver,
+ void(const dbus::ObjectPath& network_path,
+ PropertyChangedObserver* observer));
MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& network_path,
const DictionaryValueCallback& callback));
MOCK_METHOD1(CallGetPropertiesAndBlock,

Powered by Google App Engine
This is Rietveld 408576698