Index: components/autofill/content/browser/wallet/wallet_client.cc |
diff --git a/components/autofill/content/browser/wallet/wallet_client.cc b/components/autofill/content/browser/wallet/wallet_client.cc |
index 093791300107890af58690fd7203c819f25b8c80..463c121771037b68bbf365b0e8479e571238aa5a 100644 |
--- a/components/autofill/content/browser/wallet/wallet_client.cc |
+++ b/components/autofill/content/browser/wallet/wallet_client.cc |
@@ -66,21 +66,21 @@ std::string RiskCapabilityToString( |
WalletClient::ErrorType StringToErrorType(const std::string& error_type) { |
std::string trimmed; |
base::TrimWhitespaceASCII(error_type, base::TRIM_ALL, &trimmed); |
- if (LowerCaseEqualsASCII(trimmed, "buyer_account_error")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "buyer_account_error")) |
return WalletClient::BUYER_ACCOUNT_ERROR; |
- if (LowerCaseEqualsASCII(trimmed, "unsupported_merchant")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "unsupported_merchant")) |
return WalletClient::UNSUPPORTED_MERCHANT; |
- if (LowerCaseEqualsASCII(trimmed, "internal_error")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "internal_error")) |
return WalletClient::INTERNAL_ERROR; |
- if (LowerCaseEqualsASCII(trimmed, "invalid_params")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "invalid_params")) |
return WalletClient::INVALID_PARAMS; |
- if (LowerCaseEqualsASCII(trimmed, "service_unavailable")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "service_unavailable")) |
return WalletClient::SERVICE_UNAVAILABLE; |
- if (LowerCaseEqualsASCII(trimmed, "unsupported_api_version")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "unsupported_api_version")) |
return WalletClient::UNSUPPORTED_API_VERSION; |
- if (LowerCaseEqualsASCII(trimmed, "unsupported_user_agent")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "unsupported_user_agent")) |
return WalletClient::UNSUPPORTED_USER_AGENT_OR_API_KEY; |
- if (LowerCaseEqualsASCII(trimmed, "spending_limit_exceeded")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "spending_limit_exceeded")) |
return WalletClient::SPENDING_LIMIT_EXCEEDED; |
DVLOG(1) << "Unknown wallet error string: \"" << error_type << '"'; |
@@ -93,9 +93,9 @@ WalletClient::ErrorType BuyerErrorStringToErrorType( |
const std::string& message_type_for_buyer) { |
std::string trimmed; |
base::TrimWhitespaceASCII(message_type_for_buyer, base::TRIM_ALL, &trimmed); |
- if (LowerCaseEqualsASCII(trimmed, "bla_country_not_supported")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "bla_country_not_supported")) |
return WalletClient::BUYER_LEGAL_ADDRESS_NOT_SUPPORTED; |
- if (LowerCaseEqualsASCII(trimmed, "buyer_kyc_error")) |
+ if (base::LowerCaseEqualsASCII(trimmed, "buyer_kyc_error")) |
return WalletClient::UNVERIFIED_KNOW_YOUR_CUSTOMER_STATUS; |
return WalletClient::BUYER_ACCOUNT_ERROR; |
@@ -642,7 +642,7 @@ void WalletClient::OnURLFetchComplete( |
std::string trimmed; |
base::TrimWhitespaceASCII(auth_result, base::TRIM_ALL, &trimmed); |
delegate_->OnDidAuthenticateInstrument( |
- LowerCaseEqualsASCII(trimmed, "success")); |
+ base::LowerCaseEqualsASCII(trimmed, "success")); |
} else { |
HandleMalformedResponse(type, scoped_request.get()); |
} |