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

Unified Diff: net/base/address_family.h

Issue 3067012: Merge 53487 - [Linux] Enable connecting to localhost when offline.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 5 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_cache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_family.h
===================================================================
--- net/base/address_family.h (revision 53998)
+++ net/base/address_family.h (working copy)
@@ -15,10 +15,12 @@
ADDRESS_FAMILY_IPV6, // AF_INET6
};
-// HostResolverFlags is a bitflag enum wrapper around the addrinfo.ai_flags
-// supported by host resolver procedures.
+// HostResolverFlags is a bitflag enum used by host resolver procedures to
+// determine the value of addrinfo.ai_flags.
enum {
- HOST_RESOLVER_CANONNAME = 1 << 0, // 0x1, AI_CANONNAME
+ HOST_RESOLVER_CANONNAME = 1 << 0, // AI_CANONNAME
+ // Hint to the resolver proc that only loopback addresses are configured.
+ HOST_RESOLVER_LOOPBACK_ONLY = 1 << 1,
};
typedef int HostResolverFlags;
« no previous file with comments | « no previous file | net/base/host_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698