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

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

Issue 1774153002: [Autofill] Add the phone extension type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and adapt heuristic output Created 4 years, 9 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/field_types.h
diff --git a/components/autofill/core/browser/field_types.h b/components/autofill/core/browser/field_types.h
index 63410fe780fe044fc2687f34f69ecb125d0c0db8..a8aef650030b9432ebc2c5de27b5d796c32b19ad 100644
--- a/components/autofill/core/browser/field_types.h
+++ b/components/autofill/core/browser/field_types.h
@@ -153,10 +153,11 @@ enum ServerFieldType {
CREDIT_CARD_NAME_FIRST = 91,
CREDIT_CARD_NAME_LAST = 92,
+ PHONE_HOME_EXTENSION = 93,
+
// No new types can be added without a corresponding change to the Autofill
// server.
-
- MAX_VALID_FIELD_TYPE = 93,
+ MAX_VALID_FIELD_TYPE = 94,
};
// The list of all HTML autocomplete field type hints supported by Chrome.
@@ -206,6 +207,7 @@ enum HtmlFieldType {
HTML_TYPE_TEL_LOCAL,
HTML_TYPE_TEL_LOCAL_PREFIX,
HTML_TYPE_TEL_LOCAL_SUFFIX,
+ HTML_TYPE_TEL_EXTENSION,
// Email.
HTML_TYPE_EMAIL,
« no previous file with comments | « components/autofill/core/browser/autofill_type.cc ('k') | components/autofill/core/browser/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698