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

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

Issue 2721663002: Move Credentials when migrating to HSTS page (Closed)
Patch Set: More Explanation Created 3 years, 9 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/form_fetcher_impl.cc
diff --git a/components/password_manager/core/browser/form_fetcher_impl.cc b/components/password_manager/core/browser/form_fetcher_impl.cc
index 6bff00d8fc6926e333c0316ff59925cc77ad3387..4ba32f4188e55bd60d72df202c34f02a5f35f903 100644
--- a/components/password_manager/core/browser/form_fetcher_impl.cc
+++ b/components/password_manager/core/browser/form_fetcher_impl.cc
@@ -110,9 +110,8 @@ void FormFetcherImpl::OnGetPasswordStoreResults(
if (should_migrate_http_passwords_ && results.empty() &&
form_digest_.origin.SchemeIs(url::kHttpsScheme)) {
- http_migrator_ = base::MakeUnique<HttpPasswordMigrator>(
- form_digest_.origin, HttpPasswordMigrator::MigrationMode::COPY,
- client_->GetPasswordStore(), this);
+ http_migrator_ = base::MakeUnique<HttpPasswordMigrator>(form_digest_.origin,
+ client_, this);
return;
}

Powered by Google App Engine
This is Rietveld 408576698