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

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

Issue 322453003: autocomplete: support address-line3, address-level{1,2,3} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test expectations Created 6 years, 6 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: 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 ce0e728bd95a8ad6daa31d6a165fcf9538c7403d..c6372f856ef1ad21900d36a21c52f5f4230ae8be 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -654,9 +654,6 @@ AutofillDialogControllerImpl::~AutofillDialogControllerImpl() {
bool CountryFilter(const std::set<base::string16>& possible_values,
const std::string& country_code) {
- if (!i18ninput::CountryIsFullySupported(country_code))
- return false;
-
if (!possible_values.empty() &&
!possible_values.count(base::ASCIIToUTF16(country_code))) {
return false;
@@ -3031,9 +3028,7 @@ void AutofillDialogControllerImpl::SuggestionsUpdated() {
for (size_t i = 0; i < profiles.size(); ++i) {
const AutofillProfile& profile = *profiles[i];
if (!i18ninput::AddressHasCompleteAndVerifiedData(
- profile, g_browser_process->GetApplicationLocale()) ||
- !i18ninput::CountryIsFullySupported(
- base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY)))) {
+ profile, g_browser_process->GetApplicationLocale())) {
continue;
}

Powered by Google App Engine
This is Rietveld 408576698