| Index: components/password_manager/core/browser/password_manager_metrics_util.h
|
| diff --git a/components/password_manager/core/browser/password_manager_metrics_util.h b/components/password_manager/core/browser/password_manager_metrics_util.h
|
| index 040a3be61f5148d77928e70782c5d4d68bc867e1..2fb1b73140487a3564f351cdef36bbca338046a6 100644
|
| --- a/components/password_manager/core/browser/password_manager_metrics_util.h
|
| +++ b/components/password_manager/core/browser/password_manager_metrics_util.h
|
| @@ -173,6 +173,13 @@ enum CredentialManagerGetMediation {
|
| CREDENTIAL_MANAGER_GET_UNMEDIATED
|
| };
|
|
|
| +// Metrics: "PasswordManager.HttpPasswordMigrationMode"
|
| +enum HttpPasswordMigrationMode {
|
| + HTTP_PASSWORD_MIGRATION_MODE_MOVE,
|
| + HTTP_PASSWORD_MIGRATION_MODE_COPY,
|
| + HTTP_PASSWORD_MIGRATION_MODE_COUNT
|
| +};
|
| +
|
| enum PasswordReusePasswordFieldDetected {
|
| NO_PASSWORD_FIELD,
|
| HAS_PASSWORD_FIELD,
|
| @@ -229,6 +236,9 @@ void LogShouldBlockPasswordForSameOriginButDifferentScheme(bool should_block);
|
| // Logs number of passwords migrated from HTTP to HTTPS.
|
| void LogCountHttpMigratedPasswords(int count);
|
|
|
| +// Logs mode of HTTP password migration.
|
| +void LogHttpPasswordMigrationMode(HttpPasswordMigrationMode mode);
|
| +
|
| // Log if the account chooser has empty username or duplicate usernames. In
|
| // addition record number of the placeholder avatars and total number of rows.
|
| void LogAccountChooserUsability(AccountChooserUsabilityMetric usability,
|
|
|