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

Unified Diff: net/base/address_family.h

Issue 3231005: Fix remaining localhost resolution issues. (Closed)
Patch Set: Fix mock resolver to ignore network config-induced host resolver flags when using default flags. Created 10 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/base/host_resolver_impl.cc » ('j') | net/base/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 49e1583ba82a60d13d35b05d32860034a165ed9a..174ce37dc0ae3ecb9a629c59ea202631fbe03dc5 100644
--- a/net/base/address_family.h
+++ b/net/base/address_family.h
@@ -22,6 +22,8 @@ enum {
HOST_RESOLVER_CANONNAME = 1 << 0, // AI_CANONNAME
// Hint to the resolver proc that only loopback addresses are configured.
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,
willchan no longer on Chromium 2010/09/03 20:23:07 Is this flag an abuse of HostResolverFlags? It do
vandebo (ex-Chrome) 2010/09/03 20:33:43 The flags do determine addrinfo.ai_flags, though t
};
typedef int HostResolverFlags;
« no previous file with comments | « no previous file | net/base/host_resolver_impl.cc » ('j') | net/base/host_resolver_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698