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

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

Issue 949323002: Collecting UMA metrics for the UnmaskPrompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 c016c6bcec3fc8141e2b67afeef17c01edbba3f4..d4b336568170ccf2f8c6674f3b13a02ed5eee04e 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -341,6 +341,12 @@ void AutofillMetrics::LogDialogUiEvent(DialogUiEvent event) {
}
// static
+void AutofillMetrics::LogUnmaskPromptEvent(UnmaskPromptEvent event) {
+ UMA_HISTOGRAM_ENUMERATION("Autofill.UnmaskPrompt.Events", event,
+ NUM_UNMASK_PROMT_EVENTS);
Evan Stade 2015/03/18 01:47:59 PROMPT
Walter Cacau 2015/03/18 17:04:54 Done.
Walter Cacau 2015/03/18 17:04:54 Done.
+}
+
+// static
void AutofillMetrics::LogWalletErrorMetric(WalletErrorMetric metric) {
UMA_HISTOGRAM_ENUMERATION("RequestAutocomplete.WalletErrors", metric,
NUM_WALLET_ERROR_METRICS);

Powered by Google App Engine
This is Rietveld 408576698