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

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

Issue 2667363003: Enable moving of credentials in HttpPasswordMigrator (Closed)
Patch Set: Moved test methods out of class 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
« no previous file with comments | « no previous file | components/password_manager/core/browser/form_fetcher_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « no previous file | components/password_manager/core/browser/form_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698