Index: components/autofill/content/browser/wallet/form_field_error.cc |
diff --git a/components/autofill/content/browser/wallet/form_field_error.cc b/components/autofill/content/browser/wallet/form_field_error.cc |
index 826ea37df2c1c38ce24fdf6add7ecba5b6d44b9c..5d254a06667140e303fae29f2069613cd8e46f37 100644 |
--- a/components/autofill/content/browser/wallet/form_field_error.cc |
+++ b/components/autofill/content/browser/wallet/form_field_error.cc |
@@ -15,35 +15,35 @@ namespace wallet { |
namespace { |
FormFieldError::ErrorType ErrorTypeFromString(const std::string& error_type) { |
- if (LowerCaseEqualsASCII(error_type, "unknown_error")) |
+ if (base::LowerCaseEqualsASCII(error_type, "unknown_error")) |
return FormFieldError::UNKNOWN_ERROR; |
- if (LowerCaseEqualsASCII(error_type, "invalid_phone_number")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_phone_number")) |
return FormFieldError::INVALID_PHONE_NUMBER; |
- if (LowerCaseEqualsASCII(error_type, "invalid_postal_code")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_postal_code")) |
return FormFieldError::INVALID_POSTAL_CODE; |
- if (LowerCaseEqualsASCII(error_type, "invalid_address")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_address")) |
return FormFieldError::INVALID_ADDRESS; |
- if (LowerCaseEqualsASCII(error_type, "invalid_card_details")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_card_details")) |
return FormFieldError::INVALID_CARD_DETAILS; |
- if (LowerCaseEqualsASCII(error_type, "invalid_city")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_city")) |
return FormFieldError::INVALID_CITY; |
- if (LowerCaseEqualsASCII(error_type, "invalid_instrument")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_instrument")) |
return FormFieldError::INVALID_INSTRUMENT; |
- if (LowerCaseEqualsASCII(error_type, "invalid_state")) |
+ if (base::LowerCaseEqualsASCII(error_type, "invalid_state")) |
return FormFieldError::INVALID_STATE; |
- if (LowerCaseEqualsASCII(error_type, "required_field_not_set")) |
+ if (base::LowerCaseEqualsASCII(error_type, "required_field_not_set")) |
return FormFieldError::REQUIRED_FIELD_NOT_SET; |
return FormFieldError::UNKNOWN_ERROR; |
} |
FormFieldError::Location LocationFromString(const std::string& location) { |
- if (LowerCaseEqualsASCII(location, "unknown_location")) |
+ if (base::LowerCaseEqualsASCII(location, "unknown_location")) |
return FormFieldError::UNKNOWN_LOCATION; |
- if (LowerCaseEqualsASCII(location, "payment_instrument")) |
+ if (base::LowerCaseEqualsASCII(location, "payment_instrument")) |
return FormFieldError::PAYMENT_INSTRUMENT; |
- if (LowerCaseEqualsASCII(location, "shipping_address")) |
+ if (base::LowerCaseEqualsASCII(location, "shipping_address")) |
return FormFieldError::SHIPPING_ADDRESS; |
- if (LowerCaseEqualsASCII(location, "legal_address")) |
+ if (base::LowerCaseEqualsASCII(location, "legal_address")) |
return FormFieldError::LEGAL_ADDRESS; |
return FormFieldError::UNKNOWN_LOCATION; |
} |