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

Unified Diff: chromeos/dbus/mock_shill_ipconfig_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_ipconfig_client.h
diff --git a/chromeos/dbus/mock_shill_ipconfig_client.h b/chromeos/dbus/mock_shill_ipconfig_client.h
index c8416ba99bf04ea8f861c9cb85abcf0666df1fe4..3c854b2630568f2782ebe858033a08b3fdd8efd0 100644
--- a/chromeos/dbus/mock_shill_ipconfig_client.h
+++ b/chromeos/dbus/mock_shill_ipconfig_client.h
@@ -17,11 +17,12 @@ class MockShillIPConfigClient : public ShillIPConfigClient {
MockShillIPConfigClient();
virtual ~MockShillIPConfigClient();
- MOCK_METHOD2(SetPropertyChangedHandler,
+ MOCK_METHOD2(AddPropertyChangedObserver,
void(const dbus::ObjectPath& ipconfig_path,
- const PropertyChangedHandler& handler));
- MOCK_METHOD1(ResetPropertyChangedHandler,
- void(const dbus::ObjectPath& ipconfig_path));
+ PropertyChangedObserver* observer));
+ MOCK_METHOD2(RemovePropertyChangedObserver,
+ void(const dbus::ObjectPath& ipconfig_path,
+ PropertyChangedObserver* observer));
MOCK_METHOD2(Refresh, void(const dbus::ObjectPath& ipconfig_path,
const VoidDBusMethodCallback& callback));
MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& ipconfig_path,

Powered by Google App Engine
This is Rietveld 408576698