Chromium Code Reviews| 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..9be256a4fab82c75823c0f284d36c1db52f80bd4 100644 |
| --- a/net/proxy/proxy_resolver_v8_tracing.cc |
| +++ b/net/proxy/proxy_resolver_v8_tracing.cc |
| @@ -973,7 +973,12 @@ HostResolver::RequestInfo ProxyResolverV8Tracing::Job::MakeDnsRequestInfo( |
| } |
| HostResolver::RequestInfo info(host_port); |
| - |
| + // Flag myIpAddress requests. |
| + if (op == MY_IP_ADDRESS || op == MY_IP_ADDRESS_EX) { |
| + // TODO: Provide a RequestInfo construction mechanism that does not |
|
eroman
2014/06/26 22:14:22
TODO(stevnjb):
Note that the name in parens is NO
stevenjb
2014/06/26 22:21:24
Well, actually it says "identifier of the person w
|
| + // require a hostname and sets is_my_ip_address to true instead of this. |
| + 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); |