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

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: Created 5 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/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 adb235bdbf76691a774b76543beeb2825756208f..1dbc8c536a67c14f7936a6fabbbd199da4b8ff31 100644
--- a/components/password_manager/content/browser/credential_manager_dispatcher.cc
+++ b/components/password_manager/content/browser/credential_manager_dispatcher.cc
@@ -184,7 +184,7 @@ void CredentialManagerDispatcher::OnGetPasswordStoreResults(
if (pending_request_->zero_click_only ||
!client_->PromptUserToChooseCredentials(
- local_results, federated_results,
+ local_results, federated_results, pending_request_->origin,
base::Bind(&CredentialManagerDispatcher::SendCredential,
base::Unretained(this), pending_request_->id))) {
STLDeleteElements(&local_results);

Powered by Google App Engine
This is Rietveld 408576698