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

Unified Diff: components/autofill/content/browser/wallet/wallet_signin_helper.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
Patch Set: Created 5 years, 6 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: components/autofill/content/browser/wallet/wallet_signin_helper.cc
diff --git a/components/autofill/content/browser/wallet/wallet_signin_helper.cc b/components/autofill/content/browser/wallet/wallet_signin_helper.cc
index f7b0fbce30003ab41dc8ed66377f3fc8cc848ddb..fb84fba53b79d80729879f1c0d06d397d85ebfaf 100644
--- a/components/autofill/content/browser/wallet/wallet_signin_helper.cc
+++ b/components/autofill/content/browser/wallet/wallet_signin_helper.cc
@@ -45,8 +45,8 @@ void GetGoogleCookiesCallback(
std::string host = wallet::GetPassiveAuthUrl(0).host();
std::string wallet_cookie;
for (size_t i = 0; i < cookies.size(); ++i) {
- if (LowerCaseEqualsASCII(cookies[i].Name(), kWalletCookieName) &&
- LowerCaseEqualsASCII(cookies[i].Domain(), host.c_str())) {
+ if (base::LowerCaseEqualsASCII(cookies[i].Name(), kWalletCookieName) &&
+ base::LowerCaseEqualsASCII(cookies[i].Domain(), host.c_str())) {
wallet_cookie = cookies[i].Value();
break;
}
@@ -154,7 +154,7 @@ void WalletSigninHelper::OnURLFetchComplete(
return;
}
- if (!LowerCaseEqualsASCII(data, "yes")) {
+ if (!base::LowerCaseEqualsASCII(data, "yes")) {
OnServiceError(
GoogleServiceAuthError(GoogleServiceAuthError::USER_NOT_SIGNED_UP));
return;

Powered by Google App Engine
This is Rietveld 408576698