diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 02:32:39 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 02:32:39 +0000 |
commit | e5e6166b48812a294cdebf4cc92de0f2fced7fa3 (patch) | |
tree | c4606057eb0a8a94ff25252e0dabfdbbfea4928e /net/proxy | |
parent | 6699b9ff7d71b164bb1892f31705deff9f0a7be2 (diff) | |
download | chromium_src-e5e6166b48812a294cdebf4cc92de0f2fced7fa3.zip chromium_src-e5e6166b48812a294cdebf4cc92de0f2fced7fa3.tar.gz chromium_src-e5e6166b48812a294cdebf4cc92de0f2fced7fa3.tar.bz2 |
Remove LOG(WARNING)s for when fails to parse proxy bypass rules.
This can pollute the log since it gets hit often (each time poll for checks).
BUG=none
Review URL: http://codereview.chromium.org/781001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41243 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy')
-rw-r--r-- | net/proxy/proxy_bypass_rules.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/proxy/proxy_bypass_rules.cc b/net/proxy/proxy_bypass_rules.cc index 9cf9d94..0fb14a7 100644 --- a/net/proxy/proxy_bypass_rules.cc +++ b/net/proxy/proxy_bypass_rules.cc @@ -175,8 +175,8 @@ bool ProxyBypassRules::AddRuleFromStringInternal( // If there is a forward slash in the input, it is probably a CIDR style // mask. if (raw.find('/') != std::string::npos) { - LOG(WARNING) << "TODO: support CIDR-style proxy bypass entries " - "(http://crbug.com/9835)"; + // TODO(eroman): support CIDR-style proxy bypass entries + // (http://crbug.com/9835) return false; } @@ -220,9 +220,7 @@ bool ProxyBypassRules::AddRuleFromStringInternal( bool ProxyBypassRules::AddRuleFromStringInternalWithLogging( const std::string& raw, bool use_hostname_suffix_matching) { - bool ok = AddRuleFromStringInternal(raw, use_hostname_suffix_matching); - LOG_IF(WARNING, !ok) << "Unable to parse proxy bypass rule: " << raw; - return ok; + return AddRuleFromStringInternal(raw, use_hostname_suffix_matching); } } // namespace net |