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

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

Issue 25620002: [rac] Use i18n address inputs with --enable-autofill-address-i18n flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Avoid initializer list Created 7 years, 2 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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_common.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_common.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.h b/chrome/browser/ui/autofill/autofill_dialog_common.h
index 641bed5bbea997e20c4a4a23f27a13cd0591f821..970bc01ba684570f95dbd5adfa10cb34932eb570 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_common.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_common.h
@@ -33,8 +33,13 @@ bool DetailInputMatchesField(DialogSection section,
// Returns true if the |type| belongs to the CREDIT_CARD field type group.
bool IsCreditCardType(ServerFieldType type);
-// Constructs |inputs| from template data for a given |dialog_section|.
+// Constructs |inputs| from template data for a given |dialog_section|. The
+// optional parameter |country_region| specifies the country/region code that
+// the user selected in the drop down.
void BuildInputsForSection(DialogSection dialog_section, DetailInputs* inputs);
+void BuildInputsForSection(DialogSection dialog_section,
+ DetailInputs* inputs,
+ const std::string& country_region);
// Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding
// to the |section|.
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698