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

Unified Diff: components/autofill/core/browser/autofill_common_test.h

Issue 17572015: Begin abstracting sending of IPC from autofill core code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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
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();

Powered by Google App Engine
This is Rietveld 408576698