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

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

Issue 877613004: [Credential Manager API] Pass origin to Account chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local_vs_federated
Patch Set: Rebased. Created 5 years, 10 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 aae4c7880e7428ae443ac0f1210d5156e1f82e54..8b7b85332f739b9f7d56f28c0649ba2f586eac15 100644
--- a/components/password_manager/content/browser/credential_manager_dispatcher.cc
+++ b/components/password_manager/content/browser/credential_manager_dispatcher.cc
@@ -104,7 +104,7 @@ void CredentialManagerDispatcher::PendingRequestTask::OnGetPasswordStoreResults(
if (zero_click_only_ ||
!dispatcher_->client()->PromptUserToChooseCredentials(
- local_results.Pass(), federated_results.Pass(),
+ local_results.Pass(), federated_results.Pass(), origin_,
base::Bind(&CredentialManagerDispatcher::SendCredential,
base::Unretained(dispatcher_), id_))) {
dispatcher_->SendCredential(id_, CredentialInfo());

Powered by Google App Engine
This is Rietveld 408576698