Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: components/password_manager/core/browser/password_manager_metrics_util.h

Issue 2721663002: Move Credentials when migrating to HSTS page (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e166754ecc713b66d87f309f004524223bc2faf0..c79b11d88fc03350c97eb16a992d12d6d3d8b033 100644
--- a/components/password_manager/core/browser/password_manager_metrics_util.h
+++ b/components/password_manager/core/browser/password_manager_metrics_util.h
@@ -172,6 +172,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,
@@ -228,6 +235,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,

Powered by Google App Engine
This is Rietveld 408576698