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

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

Issue 1010263002: [Autofill] Add FormEvent logging for "will submit form". (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..0ac46277da9092e9d8504bb89d08acd7d89d794f 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -456,6 +456,11 @@ void AutofillMetrics::LogFormFillDurationFromInteractionWithoutAutofill(
}
// static
+void AutofillMetrics::LogIsFormUserSubmitted(bool user_submitted) {
+ UMA_HISTOGRAM_BOOLEAN("Autofill.IsFormUserSubmitted", user_submitted);
+}
+
+// static
void AutofillMetrics::LogIsAutofillEnabledAtStartup(bool enabled) {
UMA_HISTOGRAM_BOOLEAN("Autofill.IsEnabled.Startup", enabled);
}

Powered by Google App Engine
This is Rietveld 408576698