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

Unified Diff: google_apis/gaia/gaia_auth_util.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 cc5e17cc7d7f27b9a8678b90389ef88274bbd1c8..caf802f9954e535b9c774df961be2e32018e16e9 100644
--- a/google_apis/gaia/gaia_auth_util.cc
+++ b/google_apis/gaia/gaia_auth_util.cc
@@ -35,8 +35,7 @@ std::string CanonicalizeEmailImpl(const std::string& email_address,
base::RemoveChars(parts[0], ".", &parts[0]);
}
- std::string new_email = base::StringToLowerASCII(
- base::JoinString(parts, "@"));
+ std::string new_email = base::ToLowerASCII(base::JoinString(parts, "@"));
VLOG(1) << "Canonicalized " << email_address << " to " << new_email;
return new_email;
}
@@ -72,7 +71,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 base::StringToLowerASCII(domain);
+ return base::ToLowerASCII(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