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) { |