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

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: bool fix Created 4 years, 5 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..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) {

Powered by Google App Engine
This is Rietveld 408576698