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

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

Issue 1028163002: Processing USERNAME reply from Autofill server in Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/autofill_metrics.cc
diff --git a/components/autofill/core/browser/autofill_metrics.cc b/components/autofill/core/browser/autofill_metrics.cc
index b87f56050d2500278d13ccf0540204d00484bdad..2e79535b8d8f66cae244a6a3719425884210bac3 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -35,6 +35,7 @@ enum FieldTypeGroupForMetrics {
GROUP_CREDIT_CARD_TYPE,
GROUP_PASSWORD,
GROUP_ADDRESS_LINE_3,
+ GROUP_USERNAME,
NUM_FIELD_TYPE_GROUPS_FOR_METRICS
};
@@ -153,6 +154,10 @@ int GetFieldTypeGroupMetric(ServerFieldType field_type,
group = GROUP_PASSWORD;
break;
+ case USERNAME_FIELD:
+ group = GROUP_USERNAME;
+ break;
+
case TRANSACTION:
NOTREACHED();
break;
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698