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..9e647794fba873e53630b208d9d9f31a87bcae5f 100644 |
--- a/components/autofill/core/browser/autofill_metrics.cc |
+++ b/components/autofill/core/browser/autofill_metrics.cc |
@@ -265,6 +265,12 @@ 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) { |