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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « chrome/browser/translate/translate_browsertest.cc ('k') | chrome/browser/ui/autofill/data_model_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index e1dd9b87d6f86b737b19b647fd940ec59ff0b429..234665be1df1bca3ba49a33a0072d987473b3e07 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -2924,7 +2924,7 @@ void AutofillDialogControllerImpl::SuggestionsUpdated() {
const AutofillProfile& profile = *profiles[i];
if (!i18ninput::AddressHasCompleteAndVerifiedData(profile) ||
!i18ninput::CountryIsFullySupported(
- UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))) {
+ base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))) {
continue;
}
@@ -3170,7 +3170,7 @@ bool AutofillDialogControllerImpl::ShouldSuggestProfile(
DialogSection section,
const AutofillProfile& profile) {
std::string country_code =
- UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY));
+ base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY));
return country_code.empty() || CanAcceptCountry(section, country_code);
}
« no previous file with comments | « chrome/browser/translate/translate_browsertest.cc ('k') | chrome/browser/ui/autofill/data_model_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698