diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 04:48:48 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 04:48:48 +0000 |
commit | c80549f2dac0ca5a810488df65727011eb42271c (patch) | |
tree | 9d0b4190c8376ad0aa8b477f0558d6c5808c1b62 /net/proxy/proxy_config.h | |
parent | f88de5bcdc2e370e1d25cdff6f40cb5adaccb255 (diff) | |
download | chromium_src-c80549f2dac0ca5a810488df65727011eb42271c.zip chromium_src-c80549f2dac0ca5a810488df65727011eb42271c.tar.gz chromium_src-c80549f2dac0ca5a810488df65727011eb42271c.tar.bz2 |
Refactor: Address a TODO about renaming a function.
Review URL: http://codereview.chromium.org/3216008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_config.h')
-rw-r--r-- | net/proxy/proxy_config.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h index 3d4190b..56a58ba 100644 --- a/net/proxy/proxy_config.h +++ b/net/proxy/proxy_config.h @@ -118,16 +118,11 @@ class ProxyConfig { // Returns true if the given config is equivalent to this config. bool Equals(const ProxyConfig& other) const; - // Returns true if this config could possibly require the proxy service to - // use a PAC resolver. - // TODO(eroman): rename to HasAutomaticSettings() for consistency with - // ClearAutomaticSettings(). - bool MayRequirePACResolver() const; - - void ClearAutomaticSettings() { - auto_detect_ = false; - pac_url_ = GURL(); - } + // Returns true if this config contains any "automatic" settings. See the + // class description for what that means. + bool HasAutomaticSettings() const; + + void ClearAutomaticSettings(); // Creates a Value dump of this configuration. The caller is responsible for // deleting the returned value. |