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

Unified Diff: net/dns/dns_config_service_win.h

Issue 9721002: [net/dns] Removes locking from DnsConfigServiceWin and adds local computer name. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Move lowercasing to ServeFromHosts, add test. Reorganize OnHostsRead. Created 8 years, 9 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 | « net/dns/dns_config_service.cc ('k') | net/dns/dns_config_service_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_config_service_win.h
diff --git a/net/dns/dns_config_service_win.h b/net/dns/dns_config_service_win.h
index 3159f770c0017f19cbbe67bfd6b400a7462ede33..0d75d9f01f0c4bd0555cd99c9966209920a74d6f 100644
--- a/net/dns/dns_config_service_win.h
+++ b/net/dns/dns_config_service_win.h
@@ -48,12 +48,10 @@ class NET_EXPORT_PRIVATE DnsConfigServiceWin
private:
class ConfigReader;
-
- void OnHostsChanged(bool succeeded);
+ class HostsReader;
scoped_refptr<ConfigReader> config_reader_;
- scoped_ptr<FilePathWatcherWrapper> hosts_watcher_;
- scoped_refptr<SerialWorker> hosts_reader_;
+ scoped_refptr<HostsReader> hosts_reader_;
DISALLOW_COPY_AND_ASSIGN(DnsConfigServiceWin);
};
« no previous file with comments | « net/dns/dns_config_service.cc ('k') | net/dns/dns_config_service_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698