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

Unified Diff: net/base/host_resolver_impl.h

Issue 6903061: Linux: Monitor resolv.conf for changes and use that to reload resolver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixups etc. Created 9 years, 5 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 a6f5220ef80b2b33852fdf51224cf9edbd51ad6e..b586c7c14e88e736dbe4efef80e2c5df77699fe1 100644
--- a/net/base/host_resolver_impl.h
+++ b/net/base/host_resolver_impl.h
@@ -62,7 +62,8 @@ namespace net {
class NET_API HostResolverImpl
: public HostResolver,
NON_EXPORTED_BASE(public base::NonThreadSafe),
- public NetworkChangeNotifier::IPAddressObserver {
+ public NetworkChangeNotifier::IPAddressObserver,
+ public NetworkChangeNotifier::DNSObserver {
public:
// The index into |job_pools_| for the various job pools. Pools with a higher
// index have lower priority.
@@ -274,6 +275,9 @@ class NET_API HostResolverImpl
retry_factor_ = retry_factor;
}
+ // NetworkChangeNotifier::OnDNSChanged methods:
+ virtual void OnDNSChanged();
+
// Cache of host resolution results.
scoped_ptr<HostCache> cache_;

Powered by Google App Engine
This is Rietveld 408576698