Chromium Code Reviews| Index: net/dns/host_resolver.h |
| diff --git a/net/dns/host_resolver.h b/net/dns/host_resolver.h |
| index 5216329548c6b9d82cd5ae5c3f3b98eedde00a5d..9a2fbab66d16a0919321541e21dede5e7be58d52 100644 |
| --- a/net/dns/host_resolver.h |
| +++ b/net/dns/host_resolver.h |
| @@ -88,6 +88,9 @@ class NET_EXPORT HostResolver { |
| bool is_speculative() const { return is_speculative_; } |
| void set_is_speculative(bool b) { is_speculative_ = b; } |
| + bool is_my_ip_address() const { return is_my_ip_address_; } |
| + void set_is_my_ip_address(bool b) { is_my_ip_address_ = b; } |
| + |
| private: |
| // The hostname to resolve, and the port to use in resulting sockaddrs. |
| HostPortPair host_port_pair_; |
| @@ -103,6 +106,11 @@ class NET_EXPORT HostResolver { |
| // Whether this request was started by the DNS prefetcher. |
| bool is_speculative_; |
| + |
| + // Indicates a request for myIpAddress (to differentiate from other requests |
| + // for localhost, currently used by Chrome OS). TODO(eroman): Consider |
|
eroman
2014/06/26 19:58:46
Can you remove the TODO(eroman) ?
stevenjb
2014/06/26 22:04:36
Done.
|
| + // using this on other platforms. |
| + bool is_my_ip_address_; |
| }; |
| // Opaque type used to cancel a request. |