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

Unified Diff: extensions/common/extension.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/csp_validator.cc ('k') | extensions/common/id_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index 89d50f0e098e248c56fbd382acb83b41f45f72b4..eb912e991d9f2b5c3030f6353219c1d6a468d92c 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -141,7 +141,7 @@ bool Extension::IdIsValid(const std::string& id) {
// We only support lowercase IDs, because IDs can be used as URL components
// (where GURL will lowercase it).
- std::string temp = StringToLowerASCII(id);
+ std::string temp = base::StringToLowerASCII(id);
for (size_t i = 0; i < temp.size(); i++)
if (temp[i] < 'a' || temp[i] > 'p')
return false;
« no previous file with comments | « extensions/common/csp_validator.cc ('k') | extensions/common/id_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698