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

Unified Diff: net/dns/dns_hosts.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_win.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_hosts.h
diff --git a/net/dns/dns_hosts.h b/net/dns/dns_hosts.h
index 91c35baae72a01f4a7674247c2c1948c77993d4f..5349ab56a2cae98b244ccfa8fd1e815134c15a9e 100644
--- a/net/dns/dns_hosts.h
+++ b/net/dns/dns_hosts.h
@@ -48,7 +48,10 @@ class NET_EXPORT_PRIVATE DnsHostsReader
DnsHostsReader(const FilePath& path, const CallbackType& callback);
- private:
+ const FilePath& path() const { return path_; }
+
+ protected:
+ explicit DnsHostsReader(const FilePath& path);
virtual ~DnsHostsReader();
virtual void DoWork() OVERRIDE;
« no previous file with comments | « net/dns/dns_config_service_win.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698