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 92e80ff74734a069ae8d28b427172c8960ff2fa1..a1580e8c036d8d32efbcdd430cd0568fdd405d33 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_i18n_input.h |
@@ -7,6 +7,7 @@ |
#include "chrome/browser/ui/autofill/autofill_dialog_common.h" |
#include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
+#include "third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_field.h" |
namespace autofill { |
@@ -33,6 +34,10 @@ bool CardHasCompleteAndVerifiedData(const CreditCard& card); |
// exact set of required fields depends on the region. |
bool AddressHasCompleteAndVerifiedData(const AutofillProfile& profile); |
+// Returns the corresponding Autofill server type for |field|. |
+ServerFieldType TypeForField(::i18n::addressinput::AddressField field, |
+ common::AddressType address_type); |
+ |
} // namespace i18ninput |
} // namespace autofill |