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

Unified Diff: components/password_manager/content/browser/credential_manager_dispatcher.cc

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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/content/browser/credential_manager_dispatcher.cc
diff --git a/components/password_manager/content/browser/credential_manager_dispatcher.cc b/components/password_manager/content/browser/credential_manager_dispatcher.cc
index f9959656f5d1837dc50f670a1f85bb18dd544ab8..90ab1dafd5f5f1814e2a2b30017a3a3a924d5e21 100644
--- a/components/password_manager/content/browser/credential_manager_dispatcher.cc
+++ b/components/password_manager/content/browser/credential_manager_dispatcher.cc
@@ -77,8 +77,9 @@ void CredentialManagerDispatcher::OnProvisionalSaveComplete() {
DCHECK(form_manager_);
if (client_->IsSavingEnabledForCurrentPage() &&
!form_manager_->IsBlacklisted()) {
- client_->PromptUserToSavePassword(
- form_manager_.Pass(), CredentialSourceType::CREDENTIAL_SOURCE_API);
+ client_->PromptUserToSaveOrUpdatePassword(
+ form_manager_.Pass(), CredentialSourceType::CREDENTIAL_SOURCE_API,
+ false);
}
}

Powered by Google App Engine
This is Rietveld 408576698