| Index: chrome/browser/autofill/autofill_metrics.cc
|
| diff --git a/chrome/browser/autofill/autofill_metrics.cc b/chrome/browser/autofill/autofill_metrics.cc
|
| index c30028da05ee6e4ef6f668ad9994afcce02e087a..f3549a4f9710fc82794feb790e42cb297f5a777e 100644
|
| --- a/chrome/browser/autofill/autofill_metrics.cc
|
| +++ b/chrome/browser/autofill/autofill_metrics.cc
|
| @@ -325,6 +325,14 @@ void AutofillMetrics::LogDialogUiDuration(
|
| LogUMAHistogramLongTimes(prefix + ".UiDuration." + suffix, duration);
|
| }
|
|
|
| +void AutofillMetrics::LogDialogInitialUserState(
|
| + autofill::DialogType dialog_type,
|
| + DialogInitialUserStateMetric user_type) const {
|
| + std::string name = GetPrefixForDialogType(dialog_type) + ".InitialUserState";
|
| + LogUMAHistogramEnumeration(
|
| + name, user_type, NUM_DIALOG_INITIAL_USER_STATE_METRICS);
|
| +}
|
| +
|
| void AutofillMetrics::LogWalletErrorMetric(autofill::DialogType dialog_type,
|
| WalletErrorMetric metric) const {
|
| std::string name = GetPrefixForDialogType(dialog_type) + ".WalletErrors";
|
|
|