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

Unified Diff: net/base/host_resolver_impl.h

Issue 11620007: Switch from OnIPAddressChanged and OnConnectionTypeChange to OnNetworkChanged Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: net/base/host_resolver_impl.h
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h
index d68d6abe0caf357f256c405c44dbf3970c4de628..8458abce9ecd9de220051e2a862895289f4bf016 100644
--- a/net/base/host_resolver_impl.h
+++ b/net/base/host_resolver_impl.h
@@ -59,7 +59,7 @@ class NetLog;
class NET_EXPORT HostResolverImpl
: public HostResolver,
NON_EXPORTED_BASE(public base::NonThreadSafe),
- public NetworkChangeNotifier::IPAddressObserver,
+ public NetworkChangeNotifier::NetworkChangeObserver,
public NetworkChangeNotifier::DNSObserver {
public:
// Parameters for ProcTask which resolves hostnames using HostResolveProc.
@@ -215,8 +215,9 @@ class NET_EXPORT HostResolverImpl
// a DnsClient with a valid DnsConfig.
void TryServingAllJobsFromHosts();
- // NetworkChangeNotifier::IPAddressObserver:
- virtual void OnIPAddressChanged() OVERRIDE;
+ // NetworkChangeNotifier::NetworkChangeObserver:
+ virtual void OnNetworkChanged(
+ net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
// NetworkChangeNotifier::DNSObserver:
virtual void OnDNSChanged() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698