| Index: net/proxy/proxy_resolver.h
|
| diff --git a/net/proxy/proxy_resolver.h b/net/proxy/proxy_resolver.h
|
| index 721d90f1f1cd15c56814de43a56be7ad9adbdf61..ab7f8bc716f6a3372944ee6b5cb23525c3c9b030 100644
|
| --- a/net/proxy/proxy_resolver.h
|
| +++ b/net/proxy/proxy_resolver.h
|
| @@ -58,6 +58,13 @@ class NET_EXPORT_PRIVATE ProxyResolver {
|
| // contain the actual script bytes rather than just the URL.
|
| bool expects_pac_bytes() const { return expects_pac_bytes_; }
|
|
|
| + const std::string& default_my_ip_address() const {
|
| + return default_my_ip_address_;
|
| + }
|
| + void set_default_my_ip_address(const std::string& ip_address) {
|
| + default_my_ip_address_ = ip_address;
|
| + }
|
| +
|
| virtual void CancelSetPacScript() = 0;
|
|
|
| // Called to set the PAC script backend to use.
|
| @@ -70,6 +77,9 @@ class NET_EXPORT_PRIVATE ProxyResolver {
|
| private:
|
| const bool expects_pac_bytes_;
|
|
|
| + // Local IP address to use if DNS lookup fails (for Chrome OS).
|
| + std::string default_my_ip_address_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ProxyResolver);
|
| };
|
|
|
|
|