| Index: components/autofill/core/browser/autofill_metrics.h
|
| diff --git a/components/autofill/core/browser/autofill_metrics.h b/components/autofill/core/browser/autofill_metrics.h
|
| index 974f39d96d77b1cc0f6a9c70399bc7f3df46a2f5..9b71b004437860c8b13bf17f3138ebc544f2c877 100644
|
| --- a/components/autofill/core/browser/autofill_metrics.h
|
| +++ b/components/autofill/core/browser/autofill_metrics.h
|
| @@ -518,6 +518,15 @@ class AutofillMetrics {
|
| NUM_WALLET_REQUIRED_ACTIONS
|
| };
|
|
|
| + // For mesuring how wallet addresses are converted to local profiles.
|
| + enum WalletAddressConversionType : int {
|
| + // The converted wallet address was merged into an existing local profile.
|
| + CONVERTED_ADDRESS_MERGED,
|
| + // The converted wallet address was added as a new local profile.
|
| + CONVERTED_ADDRESS_ADDED,
|
| + NUM_CONVERTED_ADDRESS_CONVERSION_TYPES
|
| + };
|
| +
|
| static void LogCardUploadDecisionMetric(CardUploadDecisionMetric metric);
|
| static void LogCreditCardInfoBarMetric(InfoBarMetric metric,
|
| bool is_uploading);
|
| @@ -663,6 +672,10 @@ class AutofillMetrics {
|
| // context.
|
| static void LogIsQueriedCreditCardFormSecure(bool is_secure);
|
|
|
| + // Log how the converted wallet address was added to the local autofill
|
| + // profiles.
|
| + static void LogWalletAddressConversionType(WalletAddressConversionType type);
|
| +
|
| // Utility to autofill form events in the relevant histograms depending on
|
| // the presence of server and/or local data.
|
| class FormEventLogger {
|
|
|