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

Unified Diff: chrome/browser/autofill/field_types.h

Issue 11415221: Add support for autofilling radio buttons and checkboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix browser tests (added more data in .out files, skip checkable elements when trying to parse with… Created 8 years 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: chrome/browser/autofill/field_types.h
diff --git a/chrome/browser/autofill/field_types.h b/chrome/browser/autofill/field_types.h
index 832b94a0cb0a47999026379aad85cdb66902e771..d45f1aacefd8b119fa0a5bc7fa4f686a1761cc7f 100644
--- a/chrome/browser/autofill/field_types.h
+++ b/chrome/browser/autofill/field_types.h
@@ -6,6 +6,7 @@
#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
@@ -77,9 +78,12 @@ 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 = 61,
+ MAX_VALID_FIELD_TYPE = 62,
};
typedef std::set<AutofillFieldType> FieldTypeSet;

Powered by Google App Engine
This is Rietveld 408576698