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

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

Issue 1392623002: [Autofill] Add metric for profile action on form submitted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 8fc22484c37ad283ec4738c7053ffe8714aaa391..12546d67b88b6bd8b25d2d4ead0bea678f9deab8 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -632,8 +632,10 @@ void AutofillMetrics::LogServerResponseHasDataForForm(bool has_data) {
}
// static
-void AutofillMetrics::LogAutomaticProfileCreation(bool created) {
- UMA_HISTOGRAM_BOOLEAN("Autofill.AutomaticProfileCreation", created);
+void AutofillMetrics::LogProfileActionOnFormSubmitted(
+ AutofillProfileAction action) {
+ UMA_HISTOGRAM_ENUMERATION("Autofill.ProfileActionOnFormSubmitted", action,
+ NEW_PROFILE_CREATED);
rkaplow 2015/10/07 15:04:56 this should be the max value enum entry
sebsg 2015/10/08 14:55:05 Done.
}
AutofillMetrics::FormEventLogger::FormEventLogger(bool is_for_credit_card)

Powered by Google App Engine
This is Rietveld 408576698