diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 22:05:28 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 22:05:28 +0000 |
commit | 466c986d6754aa9fb92edc781cd3eade36c41ed1 (patch) | |
tree | 330365d2d56ee88037e53840fe47f106fd568c49 /google_apis/gaia/gaia_auth_util.cc | |
parent | f8ddd9000a2e654d930805b01dcbb9d9bfb90e88 (diff) | |
download | chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.zip chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.tar.gz chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.tar.bz2 |
Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace.
BUG=
R=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/102843002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis/gaia/gaia_auth_util.cc')
-rw-r--r-- | google_apis/gaia/gaia_auth_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/google_apis/gaia/gaia_auth_util.cc b/google_apis/gaia/gaia_auth_util.cc index a8cad86..ca2d66e 100644 --- a/google_apis/gaia/gaia_auth_util.cc +++ b/google_apis/gaia/gaia_auth_util.cc @@ -25,7 +25,7 @@ std::string CanonicalizeEmail(const std::string& email_address) { if (parts.size() != 2U) NOTREACHED() << "expecting exactly one @, but got " << parts.size(); else if (parts[1] == kGmailDomain) // only strip '.' for gmail accounts. - RemoveChars(parts[0], ".", &parts[0]); + base::RemoveChars(parts[0], ".", &parts[0]); std::string new_email = StringToLowerASCII(JoinString(parts, at)); VLOG(1) << "Canonicalized " << email_address << " to " << new_email; return new_email; |