summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_config.h')
-rw-r--r--net/proxy/proxy_config.h15
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.