diff options
Diffstat (limited to 'net/proxy/proxy_config.h')
-rw-r--r-- | net/proxy/proxy_config.h | 5 |
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. |