diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 19:04:40 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 19:04:40 +0000 |
commit | 45bdf86341670d95573acbc699f2d2998a25cf1d (patch) | |
tree | 7aa8e9afee81bb43b076110760a09abcc9df046c /net/proxy/proxy_resolver_mac.h | |
parent | 7d1fbb6f3cab062e4c2d819aad3e8a11118db730 (diff) | |
download | chromium_src-45bdf86341670d95573acbc699f2d2998a25cf1d.zip chromium_src-45bdf86341670d95573acbc699f2d2998a25cf1d.tar.gz chromium_src-45bdf86341670d95573acbc699f2d2998a25cf1d.tar.bz2 |
Add support to ProxyService for downloading a PAC script on behalf of the ProxyResolver. A ProxyResolver can select this new behavior by subclassing ProxyResolver with |does_fetch = false|. A consequence of this change is that proxy resolve requests are maintained in a queue by ProxyService (rather than implicitly in a queue on the PAC thread's message loop). This simplifies cancellation.This solves issue 7461, and is work-in-progress towards {2764, 74}BUG=7461
Review URL: http://codereview.chromium.org/21328
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_resolver_mac.h')
-rw-r--r-- | net/proxy/proxy_resolver_mac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/proxy/proxy_resolver_mac.h b/net/proxy/proxy_resolver_mac.h index f207e1b..8796d45 100644 --- a/net/proxy/proxy_resolver_mac.h +++ b/net/proxy/proxy_resolver_mac.h @@ -13,6 +13,8 @@ namespace net { // proxies. class ProxyResolverMac : public ProxyResolver { public: + ProxyResolverMac() : ProxyResolver(true) {} + // ProxyResolver methods: virtual int GetProxyForURL(const GURL& query_url, const GURL& pac_url, |