Chromium Code Reviews| 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..603a3a7f6bf4eb79f30a98c4045ad91593ed0257 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, |
| + DetailInputs* inputs, |
|
Evan Stade
2014/01/04 00:18:04
outparams come after inparams
Dan Beam
2014/01/04 00:50:47
Done.
|
| + const std::string& country_code); |
| // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding |
| // to the |section|. |