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) |