diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 06:03:48 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 06:03:48 +0000 |
commit | 2b6ed3dc5fc23bdadbd5052f896648d2d62b9ca2 (patch) | |
tree | 300be8681ec2f27b6382697bbdc67f4a66388bb2 /net/proxy/proxy_config.h | |
parent | 33d24e55bf85ee985972563503f977d35134c815 (diff) | |
download | chromium_src-2b6ed3dc5fc23bdadbd5052f896648d2d62b9ca2.zip chromium_src-2b6ed3dc5fc23bdadbd5052f896648d2d62b9ca2.tar.gz chromium_src-2b6ed3dc5fc23bdadbd5052f896648d2d62b9ca2.tar.bz2 |
Cleanup: rename ProxyRules::socks_proxy --> ProxyRules::fallback_proxy.
BUG=None
TEST=Compiles
Review URL: http://codereview.chromium.org/3146029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57294 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_config.h')
-rw-r--r-- | net/proxy/proxy_config.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h index 6720acd..9cae51a 100644 --- a/net/proxy/proxy_config.h +++ b/net/proxy/proxy_config.h @@ -70,9 +70,7 @@ class ProxyConfig { void ParseFromString(const std::string& proxy_rules); // Returns one of {&proxy_for_http, &proxy_for_https, &proxy_for_ftp, - // &socks_proxy}, or NULL if it is a scheme that we don't have a mapping - // for. If the scheme mapping is not present and socks_proxy is defined, - // we fall back to using socks_proxy. + // &fallback_proxy}, or NULL if there is no proxy to use. // Should only call this if the type is TYPE_PROXY_PER_SCHEME. const ProxyServer* MapUrlSchemeToProxy(const std::string& url_scheme) const; @@ -95,14 +93,14 @@ class ProxyConfig { ProxyServer proxy_for_https; ProxyServer proxy_for_ftp; - // Set if the configuration has a SOCKS proxy fallback. - ProxyServer socks_proxy; + // Used when there isn't a more specific per-scheme proxy server. + ProxyServer fallback_proxy; private: - // Returns one of {&proxy_for_http, &proxy_for_https, &proxy_for_ftp, - // &socks_proxy}, or NULL if it is a scheme that we don't have a mapping + // Returns one of {&proxy_for_http, &proxy_for_https, &proxy_for_ftp} + // or NULL if it is a scheme that we don't have a mapping // for. Should only call this if the type is TYPE_PROXY_PER_SCHEME. - ProxyServer* MapSchemeToProxy(const std::string& scheme); + ProxyServer* MapUrlSchemeToProxyNoFallback(const std::string& scheme); }; typedef int ID; |