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

Unified Diff: net/base/host_resolver.h

Issue 9369045: [net] HostResolverImpl + DnsTransaction + DnsConfigService = Asynchronous DNS ready for experiments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for test-drive. Created 8 years, 10 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.h
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index 02b61af75d0f45a3afa4950474220bec3edd765a..5c56d7c517db400e8c74c1e26ab6e64dba03c2cc 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -188,10 +188,11 @@ NET_EXPORT HostResolver* CreateNonCachingSystemHostResolver(
size_t max_retry_attempts,
NetLog* net_log);
-// Creates a HostResolver implementation that sends actual DNS queries to
-// the specified DNS server and parses response and returns results.
+// Creates a HostResolver implementation that uses DnsConfigService to find
+// the system DNS settings and attempts to resolve the hostnames using
+// the asynchronous DnsTransaction.
NET_EXPORT HostResolver* CreateAsyncHostResolver(size_t max_concurrent_resolves,
- const IPAddressNumber& dns_ip,
+ size_t max_retry_attempts,
cbentzel 2012/02/10 19:51:08 Nit: document max_retry_attempts and max_concurren
NetLog* net_log);
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698