Chromium Code Reviews| 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) |