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

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

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaning Created 4 years, 4 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 aed621c0495ebd1781a5c5ffb0209d9a26a9cf10..7bcb451794b337cd9f96c0ea41d5e93a689aac36 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -265,6 +265,13 @@ void AutofillMetrics::LogCreditCardInfoBarMetric(InfoBarMetric metric) {
}
// static
+void AutofillMetrics::LogCreditCardFillingInfoBarMetric(InfoBarMetric metric) {
+ DCHECK_LT(metric, NUM_INFO_BAR_METRICS);
+ UMA_HISTOGRAM_ENUMERATION("Autofill.CreditCardFillingInfoBar", metric,
+ NUM_INFO_BAR_METRICS);
+}
+
+// static
void AutofillMetrics::LogSaveCardPromptMetric(SaveCardPromptMetric metric,
bool is_uploading,
bool is_reshow) {

Powered by Google App Engine
This is Rietveld 408576698