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

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: Rebase 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 9f3449877d2996def399d7a32b3ba490b03a3814..7e2175bcaf0348e61e5069e305acc87674dc5f16 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -643,8 +643,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,
+ AUTOFILL_PROFILE_ACTION_ENUM_SIZE);
}
AutofillMetrics::FormEventLogger::FormEventLogger(bool is_for_credit_card)
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.h ('k') | components/autofill/core/browser/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698