summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/field_types.h
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 02:12:50 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-20 02:12:50 +0000
commit66fe1b0932950f97f5def5c86e800e8eafc65c59 (patch)
treedbdd37ba30f6f87d42d19c550a53eec27bbb00e4 /chrome/browser/autofill/field_types.h
parent9bcf7fe746bbb17dfc32307c7546bda26b5c5560 (diff)
downloadchromium_src-66fe1b0932950f97f5def5c86e800e8eafc65c59.zip
chromium_src-66fe1b0932950f97f5def5c86e800e8eafc65c59.tar.gz
chromium_src-66fe1b0932950f97f5def5c86e800e8eafc65c59.tar.bz2
Revert 173889 Regressed page cyclers
> Add support for autofilling radio buttons and checkboxes. > > Autofill server is equiped with provision to say a field type as > FIELD_WITH_DEFAULT_VALUE and specify what value to use by default it > client wants to fill it. For radio buttons, if the default value > specified by the autofill server is same as its value, Chrome checks that > input element. > > all changes are behind switch. > > BUG=157636 > > Review URL: https://chromiumcodereview.appspot.com/11415221 TBR=ramankk@chromium.org BUG=166957 Review URL: https://codereview.chromium.org/11644041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174076 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, 1 insertions, 5 deletions
diff --git a/chrome/browser/autofill/field_types.h b/chrome/browser/autofill/field_types.h
index d45f1aa..832b94a 100644
--- a/chrome/browser/autofill/field_types.h
+++ b/chrome/browser/autofill/field_types.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
#include <set>
-#include <string>
// 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
@@ -78,12 +77,9 @@ enum AutofillFieldType {
COMPANY_NAME = 60,
- // Generic type whose default value is known.
- FIELD_WITH_DEFAULT_VALUE = 61,
-
// No new types can be added.
- MAX_VALID_FIELD_TYPE = 62,
+ MAX_VALID_FIELD_TYPE = 61,
};
typedef std::set<AutofillFieldType> FieldTypeSet;