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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_i18n_input.h

Issue 261013010: autocomplete: add ability to get full address (hidden behind a flag). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review Created 6 years, 7 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_i18n_input.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
index 6775176b494f49654faf1dac9e28233c91bada49..33e1c12c168c76e69aa010ddff54205c96c95db7 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h
@@ -48,7 +48,8 @@ bool CardHasCompleteAndVerifiedData(const CreditCard& card);
// As above, but for the address in |profile|. Region-aware, meaning that the
// exact set of required fields depends on the region.
-bool AddressHasCompleteAndVerifiedData(const AutofillProfile& profile);
+bool AddressHasCompleteAndVerifiedData(const AutofillProfile& profile,
+ const std::string& app_locale);
// Returns the corresponding Autofill server type for |field|.
ServerFieldType TypeForField(::i18n::addressinput::AddressField field,
@@ -60,12 +61,6 @@ ServerFieldType TypeForField(::i18n::addressinput::AddressField field,
bool FieldForType(ServerFieldType server_type,
::i18n::addressinput::AddressField* field);
-// Creates an AddressData object for internationalized address display or
-// validation using |get_info| for field values.
-void CreateAddressData(
- const base::Callback<base::string16(const AutofillType&)>& get_info,
- ::i18n::addressinput::AddressData* address_data);
-
// Whether or not |country_code| has a fully supported address format.
// TODO(dbeam): remove this when filling dependent locality is supported.
// http://crbug.com/340929

Powered by Google App Engine
This is Rietveld 408576698