Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: net/proxy/proxy_bypass_rules.cc

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_util.cc ('k') | net/server/http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_bypass_rules.cc
diff --git a/net/proxy/proxy_bypass_rules.cc b/net/proxy/proxy_bypass_rules.cc
index e402db835c4c0165760a2350b07cda2b4e7fb608..6bf1c6157e560e3fa72b1df152affcb037f962a7 100644
--- a/net/proxy/proxy_bypass_rules.cc
+++ b/net/proxy/proxy_bypass_rules.cc
@@ -21,8 +21,8 @@ class HostnamePatternRule : public ProxyBypassRules::Rule {
HostnamePatternRule(const std::string& optional_scheme,
const std::string& hostname_pattern,
int optional_port)
- : optional_scheme_(StringToLowerASCII(optional_scheme)),
- hostname_pattern_(StringToLowerASCII(hostname_pattern)),
+ : optional_scheme_(base::StringToLowerASCII(optional_scheme)),
+ hostname_pattern_(base::StringToLowerASCII(hostname_pattern)),
optional_port_(optional_port) {
}
@@ -35,7 +35,8 @@ class HostnamePatternRule : public ProxyBypassRules::Rule {
// Note it is necessary to lower-case the host, since GURL uses capital
// letters for percent-escaped characters.
- return MatchPattern(StringToLowerASCII(url.host()), hostname_pattern_);
+ return MatchPattern(base::StringToLowerASCII(url.host()),
+ hostname_pattern_);
}
virtual std::string ToString() const OVERRIDE {
« no previous file with comments | « net/http/http_util.cc ('k') | net/server/http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698