summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_config.h
diff options
context:
space:
mode:
authordavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 18:24:53 +0000
committerdavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 18:24:53 +0000
commita48bf4a393ca231598de072e68c93b3a6ce757b9 (patch)
treede50675e79529b8016d1768c3b16d389ac6966e8 /net/proxy/proxy_config.h
parentbdd5a9c900feb38b9e5bf150bccad6012eb8b729 (diff)
downloadchromium_src-a48bf4a393ca231598de072e68c93b3a6ce757b9.zip
chromium_src-a48bf4a393ca231598de072e68c93b3a6ce757b9.tar.gz
chromium_src-a48bf4a393ca231598de072e68c93b3a6ce757b9.tar.bz2
Implement KDE ReversedException setting in Chrome
R=wtc,eroman BUG=45199 TEST=Added unit tests, can also verify with steps in bug report Review URL: http://codereview.chromium.org/2725009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_config.h')
-rw-r--r--net/proxy/proxy_config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h
index 58e70e3..a247e38 100644
--- a/net/proxy/proxy_config.h
+++ b/net/proxy/proxy_config.h
@@ -41,7 +41,7 @@ class ProxyConfig {
// Note that the default of TYPE_NO_RULES results in direct connections
// being made when using this ProxyConfig.
- ProxyRules() : type(TYPE_NO_RULES) {}
+ ProxyRules() : reverse_bypass(false), type(TYPE_NO_RULES) {}
bool empty() const {
return type == TYPE_NO_RULES;
@@ -81,6 +81,9 @@ class ProxyConfig {
// Exceptions for when not to use a proxy.
ProxyBypassRules bypass_rules;
+ // Reverse the meaning of |bypass_rules|.
+ bool reverse_bypass;
+
Type type;
// Set if |type| is TYPE_SINGLE_PROXY.