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, |