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..cb9ac6d86314323e7d2184ba71807f7fbfae74c4 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, |
+ AUTOFILL_PROFILE_ACTION_ENUM_SIZE); |
} |
AutofillMetrics::FormEventLogger::FormEventLogger(bool is_for_credit_card) |