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

Unified Diff: components/password_manager/core/browser/http_password_migrator.cc

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/http_password_migrator.cc
diff --git a/components/password_manager/core/browser/http_password_migrator.cc b/components/password_manager/core/browser/http_password_migrator.cc
index 700327ca480668075b82f08b08d7c769c9d630d9..7be6801acfbc06c93edc4395f854b1542e4d15d0 100644
--- a/components/password_manager/core/browser/http_password_migrator.cc
+++ b/components/password_manager/core/browser/http_password_migrator.cc
@@ -65,6 +65,10 @@ void HttpPasswordMigrator::OnGetPasswordStoreResults(
}
metrics_util::LogCountHttpMigratedPasswords(results.size());
+ metrics_util::LogHttpPasswordMigrationMode(
+ mode_ == MigrationMode::MOVE
+ ? metrics_util::HTTP_PASSWORD_MIGRATION_MODE_MOVE
jdoerrie 2017/02/27 18:33:12 Having two MigrationMode enums feels kinda redunda
vasilii 2017/02/28 09:10:37 You did everything right.
+ : metrics_util::HTTP_PASSWORD_MIGRATION_MODE_COPY);
if (consumer_)
consumer_->ProcessMigratedForms(std::move(results));

Powered by Google App Engine
This is Rietveld 408576698