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

Unified Diff: google_apis/gaia/gaia_auth_util.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
Index: google_apis/gaia/gaia_auth_util.cc
diff --git a/google_apis/gaia/gaia_auth_util.cc b/google_apis/gaia/gaia_auth_util.cc
index 287cd469827c78308af731074b09c6ccb5e9f5f6..eba0d7b6724b85b5ae24f7ef4dbbaec7ebf7b2f9 100644
--- a/google_apis/gaia/gaia_auth_util.cc
+++ b/google_apis/gaia/gaia_auth_util.cc
@@ -35,7 +35,7 @@ std::string CanonicalizeEmailImpl(const std::string& email_address,
base::RemoveChars(parts[0], ".", &parts[0]);
}
- std::string new_email = StringToLowerASCII(JoinString(parts, at));
+ std::string new_email = base::StringToLowerASCII(JoinString(parts, at));
VLOG(1) << "Canonicalized " << email_address << " to " << new_email;
return new_email;
}
@@ -53,7 +53,7 @@ std::string CanonicalizeEmail(const std::string& email_address) {
std::string CanonicalizeDomain(const std::string& domain) {
// Canonicalization of domain names means lower-casing them. Make sure to
// update this function in sync with Canonicalize if this ever changes.
- return StringToLowerASCII(domain);
+ return base::StringToLowerASCII(domain);
}
std::string SanitizeEmail(const std::string& email_address) {
« no previous file with comments | « extensions/common/permissions/socket_permission_entry.cc ('k') | google_apis/gcm/engine/gservices_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698