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

Unified Diff: components/password_manager/core/browser/credential_manager_pending_request_task.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/credential_manager_pending_request_task.cc
diff --git a/components/password_manager/core/browser/credential_manager_pending_request_task.cc b/components/password_manager/core/browser/credential_manager_pending_request_task.cc
index fc1061fa758b7cd9d3e6dccfd30effb8a017caf9..63c79bb0a5c1991f5cd2c98e7263994ed10f0f59 100644
--- a/components/password_manager/core/browser/credential_manager_pending_request_task.cc
+++ b/components/password_manager/core/browser/credential_manager_pending_request_task.cc
@@ -134,7 +134,8 @@ void CredentialManagerPendingRequestTask::OnGetPasswordStoreResults(
if (results.empty()) {
// Try to migrate the HTTP passwords and process them later.
http_migrator_ = base::MakeUnique<HttpPasswordMigrator>(
- origin_, delegate_->client()->GetPasswordStore(), this);
+ origin_, HttpPasswordMigrator::MigrationMode::COPY,
+ delegate_->client()->GetPasswordStore(), this);
return;
}
ProcessForms(std::move(results));

Powered by Google App Engine
This is Rietveld 408576698