summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.h
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 17:15:56 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 17:15:56 +0000
commit153d44b69e23ac6e1ca2efa64ef5544f08cb8c71 (patch)
treed998fd23a0dc7de5148c2b53b2a2769d4e4bddbc /net/proxy/proxy_service.h
parent55209a4b0b801a3bc2f790d4a75d10ccfdf34f6e (diff)
downloadchromium_src-153d44b69e23ac6e1ca2efa64ef5544f08cb8c71.zip
chromium_src-153d44b69e23ac6e1ca2efa64ef5544f08cb8c71.tar.gz
chromium_src-153d44b69e23ac6e1ca2efa64ef5544f08cb8c71.tar.bz2
Relanding of r4221, initial proxy support for the Mac
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.h')
-rw-r--r--net/proxy/proxy_service.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h
index c596aab..8ea3653 100644
--- a/net/proxy/proxy_service.h
+++ b/net/proxy/proxy_service.h
@@ -47,12 +47,16 @@ class ProxyConfig {
std::string pac_url;
// If non-empty, indicates the proxy server to use (of the form host:port).
+ // If proxies depend on the scheme, a string of the format
+ // "scheme1=url[:port];scheme2=url[:port]" may be provided here.
std::string proxy_server;
- // If non-empty, indicates a comma-delimited list of hosts that should bypass
- // any proxy configuration. For these hosts, a direct connection should
- // always be used.
- std::string proxy_bypass;
+ // Indicates a list of hosts that should bypass any proxy configuration. For
+ // these hosts, a direct connection should always be used.
+ std::vector<std::string> proxy_bypass;
+
+ // Indicates whether local names (no dots) bypass proxies.
+ bool proxy_bypass_local_names;
// Returns true if the given config is equivalent to this config.
bool Equals(const ProxyConfig& other) const;