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

Unified Diff: net/dns/dns_config_service_posix.h

Issue 9969190: [net/dns] Watch configd notifications to detect DnsConfig changes on Mac. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: After review. Created 8 years, 8 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
« no previous file with comments | « no previous file | net/dns/dns_config_service_posix.cc » ('j') | net/dns/dns_config_service_posix.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_config_service_posix.h
diff --git a/net/dns/dns_config_service_posix.h b/net/dns/dns_config_service_posix.h
index e266d0660025a1ee510eabd460d26c57ac08ff4e..f28609bb0c7eb745c612c47acfb5d0e0731dde2a 100644
--- a/net/dns/dns_config_service_posix.h
+++ b/net/dns/dns_config_service_posix.h
@@ -31,10 +31,12 @@ class NET_EXPORT_PRIVATE DnsConfigServicePosix
virtual void Watch(const CallbackType& callback) OVERRIDE;
private:
+ class ConfigWatcher;
+
void OnConfigChanged(bool watch_succeeded);
void OnHostsChanged(bool watch_succeeded);
- scoped_ptr<FilePathWatcherWrapper> config_watcher_;
+ scoped_ptr<ConfigWatcher> config_watcher_;
scoped_ptr<FilePathWatcherWrapper> hosts_watcher_;
scoped_refptr<SerialWorker> config_reader_;
« no previous file with comments | « no previous file | net/dns/dns_config_service_posix.cc » ('j') | net/dns/dns_config_service_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698