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

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: Added comments. 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..cc26707b7e9ab24dfacdee86356b003cdb3f4c38 100644
--- a/net/dns/dns_config_service_posix.h
+++ b/net/dns/dns_config_service_posix.h
@@ -18,6 +18,7 @@
namespace net {
class FilePathWatcherWrapper;
+class NotifyWatcherMac;
// Use DnsConfigService::CreateSystemService to use it outside of tests.
namespace internal {
@@ -36,6 +37,9 @@ class NET_EXPORT_PRIVATE DnsConfigServicePosix
scoped_ptr<FilePathWatcherWrapper> config_watcher_;
scoped_ptr<FilePathWatcherWrapper> hosts_watcher_;
+#if defined(OS_MACOSX)
+ scoped_ptr<NotifyWatcherMac> notify_watcher_;
+#endif
scoped_refptr<SerialWorker> config_reader_;
scoped_refptr<SerialWorker> hosts_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