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

Unified Diff: components/autofill/core/browser/autofill_metrics.cc

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: Rebase 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/autofill_metrics.cc
diff --git a/components/autofill/core/browser/autofill_metrics.cc b/components/autofill/core/browser/autofill_metrics.cc
index 5efe96a5cc8f01784c8a5de3a6ba5c78b7560f8a..d463edf5c0db87bff31bb5b3ddcbccd2d2016001 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -31,7 +31,7 @@ enum FieldTypeGroupForMetrics {
GROUP_PHONE,
GROUP_FAX, // Deprecated.
GROUP_EMAIL,
- GROUP_CREDIT_CARD_NAME,
+ GROUP_CREDIT_CARD_NAME_FULL,
GROUP_CREDIT_CARD_NUMBER,
GROUP_CREDIT_CARD_DATE,
GROUP_CREDIT_CARD_TYPE,
@@ -129,8 +129,8 @@ int GetFieldTypeGroupMetric(ServerFieldType field_type,
case CREDIT_CARD:
switch (field_type) {
- case CREDIT_CARD_NAME:
- group = GROUP_CREDIT_CARD_NAME;
+ case CREDIT_CARD_NAME_FULL:
+ group = GROUP_CREDIT_CARD_NAME_FULL;
break;
case CREDIT_CARD_NUMBER:
group = GROUP_CREDIT_CARD_NUMBER;
« no previous file with comments | « components/autofill/core/browser/autofill_manager_unittest.cc ('k') | components/autofill/core/browser/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698