summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/field_types.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 23:42:34 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 23:42:34 +0000
commite2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e (patch)
tree776a15005671831ab776df8e0deb7d2a366aa23e /chrome/browser/autofill/field_types.h
parent7d01a10bbf5887f4d095f53f5a7b376aa99f4635 (diff)
downloadchromium_src-e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e.zip
chromium_src-e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e.tar.gz
chromium_src-e2d8667b7a2bb47a25ddd9a74cbd627bf17b5c7e.tar.bz2
autofill: Add the FormField interface. Classes that implement the FormField interface provide heuristics for determining the type of a form field. An initial implementation, EmailField, is provided.
BUG=none TEST=none Review URL: http://codereview.chromium.org/469013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/field_types.h')
-rw-r--r--chrome/browser/autofill/field_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/autofill/field_types.h b/chrome/browser/autofill/field_types.h
index 903af7e..d202a2e 100644
--- a/chrome/browser/autofill/field_types.h
+++ b/chrome/browser/autofill/field_types.h
@@ -7,6 +7,12 @@
#include <set>
+typedef enum _AddressType {
+ kGenericAddress = 0,
+ kBillingAddress,
+ kShippingAddress
+} AddressType;
+
// NOTE: This list MUST not be modified. The server aggregates and stores these
// types over several versions, so we must remain fully compatible with the
// autofill server, which is itself backward-compatible. The list must be kept