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

Unified Diff: net/base/address_family.h

Issue 355953002: Flag myIpAddress requests for chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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/address_family.h
diff --git a/net/base/address_family.h b/net/base/address_family.h
index eb87ae3bf3249add13110d0508fb7af2d4ff9e7e..fd28690bec231eda9f0974c4a3873e126abd97c3 100644
--- a/net/base/address_family.h
+++ b/net/base/address_family.h
@@ -26,7 +26,10 @@ enum {
// 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_SYSTEM_ONLY = 1 << 3
+ HOST_RESOLVER_SYSTEM_ONLY = 1 << 3,
+ // Indicates a request for myIpAddress (to differentiate from other localhost
+ // lookups).
+ HOST_RESOLVER_MY_IP_ADDRESS = 1 << 4
eroman 2014/06/26 03:13:47 Although convenient, Flags isn't the right place t
stevenjb 2014/06/26 03:36:45 Done.
};
typedef int HostResolverFlags;

Powered by Google App Engine
This is Rietveld 408576698