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..34ffd0a2e7cb0dc3867d1b504d5c6ee67cd1f06d 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::LogCreditCardAssistInfoBarMetric(InfoBarMetric metric) { |
+ DCHECK_LT(metric, NUM_INFO_BAR_METRICS); |
+ UMA_HISTOGRAM_ENUMERATION("Autofill.CreditCardAssistInfoBar", metric, |
+ NUM_INFO_BAR_METRICS); |
+} |
+ |
+// static |
void AutofillMetrics::LogSaveCardPromptMetric(SaveCardPromptMetric metric, |
bool is_uploading, |
bool is_reshow) { |