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

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

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/components/autofill/content/browser/wallet/wallet_signin_helper.cc
===================================================================
--- trunk/src/components/autofill/content/browser/wallet/wallet_signin_helper.cc (revision 289319)
+++ trunk/src/components/autofill/content/browser/wallet/wallet_signin_helper.cc (working copy)
@@ -45,8 +45,8 @@
std::string host = wallet::GetPassiveAuthUrl(0).host();
std::string wallet_cookie;
for (size_t i = 0; i < cookies.size(); ++i) {
- if (base::LowerCaseEqualsASCII(cookies[i].Name(), kWalletCookieName) &&
- base::LowerCaseEqualsASCII(cookies[i].Domain(), host.c_str())) {
+ if (LowerCaseEqualsASCII(cookies[i].Name(), kWalletCookieName) &&
+ LowerCaseEqualsASCII(cookies[i].Domain(), host.c_str())) {
wallet_cookie = cookies[i].Value();
break;
}
@@ -155,7 +155,7 @@
return;
}
- if (!base::LowerCaseEqualsASCII(data, "yes")) {
+ if (!LowerCaseEqualsASCII(data, "yes")) {
OnServiceError(
GoogleServiceAuthError(GoogleServiceAuthError::USER_NOT_SIGNED_UP));
return;

Powered by Google App Engine
This is Rietveld 408576698