Index: chrome/browser/local_discovery/service_discovery_host_client.h |
diff --git a/chrome/browser/local_discovery/service_discovery_host_client.h b/chrome/browser/local_discovery/service_discovery_host_client.h |
index dbb7071788cdf4e7d05cf59888be73f458253876..efbb02532db4323fb9c47c8bc7b4c2048bd0bbc9 100644 |
--- a/chrome/browser/local_discovery/service_discovery_host_client.h |
+++ b/chrome/browser/local_discovery/service_discovery_host_client.h |
@@ -30,7 +30,7 @@ class ServiceDiscoveryHostClient |
: public base::NonThreadSafe, |
public ServiceDiscoveryClient, |
public content::UtilityProcessHostClient, |
- public net::NetworkChangeNotifier::IPAddressObserver { |
+ public net::NetworkChangeNotifier::NetworkChangeObserver { |
public: |
ServiceDiscoveryHostClient(); |
@@ -55,8 +55,9 @@ class ServiceDiscoveryHostClient |
// UtilityProcessHostClient implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
- // net::NetworkChangeNotifier::IPAddressObserver implementation. |
- virtual void OnIPAddressChanged() OVERRIDE; |
+ // net::NetworkChangeNotifier::NetworkChangeObserver implementation. |
+ virtual void OnNetworkChanged( |
+ net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; |
protected: |
virtual ~ServiceDiscoveryHostClient(); |
@@ -76,6 +77,8 @@ class ServiceDiscoveryHostClient |
void ShutdownOnIOThread(); |
void RestartOnIOThread(); |
+ void Restart(); |
+ |
void Send(IPC::Message* msg); |
void SendOnIOThread(IPC::Message* msg); |