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

Unified Diff: net/base/address_family.h

Issue 23181010: Fast-fail WPAD detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Only invoke native resolver. Created 7 years, 3 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/host_resolver_impl.cc » ('j') | net/dns/host_resolver_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_family.h
diff --git a/net/base/address_family.h b/net/base/address_family.h
index 75beb29d649a2012dd3939045c03eed4d729eefc..a582c6db089fd0ceb6ee4225746e5e2dd3153ad3 100644
--- a/net/base/address_family.h
+++ b/net/base/address_family.h
@@ -24,6 +24,8 @@ enum {
HOST_RESOLVER_LOOPBACK_ONLY = 1 << 1,
// Indicate the address family was set because no IPv6 support was detected.
HOST_RESOLVER_DEFAULT_FAMILY_SET_DUE_TO_NO_IPV6 = 1 << 2,
+ // The resolver should only invoke getaddrinfo, not DnsClient
+ HOST_RESOLVER_NATIVE_ONLY = 1 << 3
szym 2013/09/16 21:50:32 Suggest "system" instead of "native".
Elly Fong-Jones 2013/09/16 22:10:11 Done.
};
typedef int HostResolverFlags;
« no previous file with comments | « no previous file | net/dns/host_resolver_impl.cc » ('j') | net/dns/host_resolver_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698