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

Unified Diff: components/autofill/core/browser/personal_data_manager.cc

Issue 448143008: Move StringToUpperASCII and LowerCaseEqualsASCII to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: components/autofill/core/browser/personal_data_manager.cc
diff --git a/components/autofill/core/browser/personal_data_manager.cc b/components/autofill/core/browser/personal_data_manager.cc
index 5aa966e539546b528c81f62f78222180f8177219..34333e291b53fbda51210509523c3a4b386c01c5 100644
--- a/components/autofill/core/browser/personal_data_manager.cc
+++ b/components/autofill/core/browser/personal_data_manager.cc
@@ -289,7 +289,7 @@ bool PersonalDataManager::ImportFormData(
types_seen.insert(server_field_type);
if (group == CREDIT_CARD) {
- if (LowerCaseEqualsASCII(field->form_control_type, "month")) {
+ if (base::LowerCaseEqualsASCII(field->form_control_type, "month")) {
DCHECK_EQ(CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR, server_field_type);
local_imported_credit_card->SetInfoForMonthInputType(value);
} else {
@@ -1063,7 +1063,7 @@ std::string PersonalDataManager::MostCommonCountryCodeFromProfiles() const {
std::vector<std::string> country_codes;
AutofillCountry::GetAvailableCountries(&country_codes);
for (size_t i = 0; i < profiles.size(); ++i) {
- std::string country_code = StringToUpperASCII(base::UTF16ToASCII(
+ std::string country_code = base::StringToUpperASCII(base::UTF16ToASCII(
profiles[i]->GetRawInfo(ADDRESS_HOME_COUNTRY)));
if (std::find(country_codes.begin(), country_codes.end(), country_code) !=

Powered by Google App Engine
This is Rietveld 408576698