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 c23aac5763fffa4c501f8eb5f760c32d0337f733..0e783dcb8bf64d388a0308e779eff0e01e57eb73 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_common.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_common.h |
@@ -20,6 +20,12 @@ class Address; |
namespace autofill { |
namespace common { |
+// The types of addresses this class supports building. |
+enum AddressType { |
+ ADDRESS_TYPE_BILLING, |
+ ADDRESS_TYPE_SHIPPING, |
+}; |
+ |
// Returns true if |input| should be shown when |field_type| has been requested. |
bool InputTypeMatchesFieldType(const DetailInput& input, |
const AutofillType& field_type); |
@@ -34,7 +40,11 @@ bool DetailInputMatchesField(DialogSection section, |
bool IsCreditCardType(ServerFieldType type); |
// Constructs |inputs| from template data for a given |dialog_section|. |
-void BuildInputsForSection(DialogSection dialog_section, DetailInputs* inputs); |
+// |country_country| specifies the country code that the inputs should be built |
+// for. |
+void BuildInputsForSection(DialogSection dialog_section, |
+ const std::string& country_code, |
+ DetailInputs* inputs); |
// Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding |
// to the |section|. |