Index: components/autofill/core/browser/autofill_common_test.h |
diff --git a/components/autofill/core/browser/autofill_common_test.h b/components/autofill/core/browser/autofill_common_test.h |
index 3f0ca5fd286b47d3e9b96106373c7297eb2a9463..b0818f70df7ffff3268dbd120cd2649ab2798720 100644 |
--- a/components/autofill/core/browser/autofill_common_test.h |
+++ b/components/autofill/core/browser/autofill_common_test.h |
@@ -13,6 +13,7 @@ namespace autofill { |
class AutofillProfile; |
class CreditCard; |
+struct FormData; |
struct FormFieldData; |
// Common utilities shared amongst Autofill tests. |
@@ -25,6 +26,11 @@ void CreateTestFormField(const char* label, |
const char* type, |
FormFieldData* field); |
+// Populates |form| with data corresponding to a simple address form. |
+// Note that this actually appends fields to the form data, which can be useful |
+// for building up more complex test forms. |
+void CreateTestAddressFormData(FormData* form); |
+ |
// Returns a profile full of dummy info. |
AutofillProfile GetFullProfile(); |