| 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 98df16d648a07ede8d0e1a7c9d4bc5b07318dc24..e4ad366b87d88132b59e026f2737cf941279fb44 100644
|
| --- a/components/autofill/core/browser/autofill_metrics.cc
|
| +++ b/components/autofill/core/browser/autofill_metrics.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/metrics/histogram.h"
|
| +#include "base/metrics/sparse_histogram.h"
|
| #include "base/time/time.h"
|
| #include "components/autofill/core/browser/autofill_type.h"
|
| #include "components/autofill/core/browser/form_structure.h"
|
| @@ -386,6 +387,10 @@ void AutofillMetrics::LogWalletRequiredActionMetric(
|
| required_action, NUM_WALLET_REQUIRED_ACTIONS);
|
| }
|
|
|
| +void AutofillMetrics::LogWalletResponseCode(int response_code) const {
|
| + UMA_HISTOGRAM_SPARSE_SLOWLY("Wallet.ResponseCode", response_code);
|
| +}
|
| +
|
| void AutofillMetrics::LogDeveloperEngagementMetric(
|
| DeveloperEngagementMetric metric) const {
|
| DCHECK_LT(metric, NUM_DEVELOPER_ENGAGEMENT_METRICS);
|
|
|