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

Unified Diff: net/proxy/proxy_resolver_v8_tracing.cc

Issue 355953002: Flag myIpAddress requests for chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: flags -> is_my_ip_address 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
« net/dns/host_resolver.h ('K') | « net/dns/host_resolver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_v8_tracing.cc
diff --git a/net/proxy/proxy_resolver_v8_tracing.cc b/net/proxy/proxy_resolver_v8_tracing.cc
index f772dc1271f943e4d28624b212c11aa64ea92917..75a6a6b166567cfa00f2f3704b0a94d616f5a543 100644
--- a/net/proxy/proxy_resolver_v8_tracing.cc
+++ b/net/proxy/proxy_resolver_v8_tracing.cc
@@ -973,7 +973,10 @@ HostResolver::RequestInfo ProxyResolverV8Tracing::Job::MakeDnsRequestInfo(
}
HostResolver::RequestInfo info(host_port);
-
+ // Flag myIpAddress requests.
+ if (op == MY_IP_ADDRESS || op == MY_IP_ADDRESS_EX) {
+ info.set_is_my_ip_address(true);
+ }
// The non-ex flavors are limited to IPv4 results.
if (op == MY_IP_ADDRESS || op == DNS_RESOLVE) {
info.set_address_family(ADDRESS_FAMILY_IPV4);
« net/dns/host_resolver.h ('K') | « net/dns/host_resolver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698