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

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

Issue 2667363003: Enable moving of credentials in HttpPasswordMigrator (Closed)
Patch Set: Comments. Created 3 years, 11 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 e4f8ed6f2a4ac0ffec9f144a51763607de42ec28..6bff00d8fc6926e333c0316ff59925cc77ad3387 100644
--- a/components/password_manager/core/browser/form_fetcher_impl.cc
+++ b/components/password_manager/core/browser/form_fetcher_impl.cc
@@ -111,7 +111,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, client_->GetPasswordStore(), this);
+ form_digest_.origin, HttpPasswordMigrator::MigrationMode::COPY,
+ client_->GetPasswordStore(), this);
return;
}

Powered by Google App Engine
This is Rietveld 408576698