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

Unified Diff: extensions/common/permissions/socket_permission_entry.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 | « extensions/common/message_bundle.cc ('k') | google_apis/gaia/gaia_auth_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/socket_permission_entry.cc
diff --git a/extensions/common/permissions/socket_permission_entry.cc b/extensions/common/permissions/socket_permission_entry.cc
index ba409c58f149c7d9cf9dbb8fb94e0604e6743f6a..76afe23771f3ba1f814aedfa9177830492f72a8a 100644
--- a/extensions/common/permissions/socket_permission_entry.cc
+++ b/extensions/common/permissions/socket_permission_entry.cc
@@ -75,7 +75,7 @@ bool SocketPermissionEntry::Check(
if (pattern_.type != request.type)
return false;
- std::string lhost = StringToLowerASCII(request.host);
+ std::string lhost = base::StringToLowerASCII(request.host);
if (pattern_.host != lhost) {
if (!match_subdomains_)
return false;
@@ -165,7 +165,7 @@ bool SocketPermissionEntry::ParseHostPattern(
if (!result.pattern_.host.empty()) {
if (StartsOrEndsWithWhitespace(result.pattern_.host))
return false;
- result.pattern_.host = StringToLowerASCII(result.pattern_.host);
+ result.pattern_.host = base::StringToLowerASCII(result.pattern_.host);
// The first component can optionally be '*' to match all subdomains.
std::vector<std::string> host_components;
« no previous file with comments | « extensions/common/message_bundle.cc ('k') | google_apis/gaia/gaia_auth_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698