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

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

Issue 1694443004: [Autofill] Add credit card first and last name heuristics predictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 a3787e076ec2d8d8a6e97b1ac360494775a7164a..63cf7901eecd4c732f5b631c7d319f44f212bbbe 100644
--- a/components/autofill/core/browser/field_types.h
+++ b/components/autofill/core/browser/field_types.h
@@ -149,10 +149,14 @@ enum ServerFieldType {
PROBABLY_NEW_PASSWORD = 89,
NOT_NEW_PASSWORD = 90,
+ // Additional field types for credit card fields.
+ CREDIT_CARD_NAME_FIRST = 91,
+ CREDIT_CARD_NAME_LAST = 92,
+
// No new types can be added without a corresponding change to the Autofill
Mathieu 2016/02/12 20:53:30 Please investigate what it would need on the serve
sebsg 2016/02/24 18:49:44 The CL on the server side has been submitted. In t
// server.
- MAX_VALID_FIELD_TYPE = 91,
+ MAX_VALID_FIELD_TYPE = 93,
};
// The list of all HTML autocomplete field type hints supported by Chrome.

Powered by Google App Engine
This is Rietveld 408576698