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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.cc

Issue 2531863002: Delete all the traces of federation providers in the account chooser. (Closed)
Patch Set: android2 Created 4 years, 1 month 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: chrome/browser/password_manager/chrome_password_manager_client.cc
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
index 258d14550b386925d3f6e147ea4d0f412f07d87a..22a725914159216f6c6a9283a9d582b5faec9ce6 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.cc
+++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
@@ -270,21 +270,17 @@ bool ChromePasswordManagerClient::PromptUserToChooseCredentials(
CredentialsCallback intercept =
base::Bind(&ChromePasswordManagerClient::OnCredentialsChosen,
base::Unretained(this), callback, local_forms.size() == 1);
- std::vector<std::unique_ptr<autofill::PasswordForm>> dummy_federations;
#if defined(OS_ANDROID)
// Deletes itself on the event from Java counterpart, when user interacts with
// dialog.
AccountChooserDialogAndroid* acccount_chooser_dialog =
new AccountChooserDialogAndroid(web_contents(), std::move(local_forms),
- std::move(dummy_federations), origin,
- intercept);
+ origin, intercept);
acccount_chooser_dialog->ShowDialog();
return true;
#else
return PasswordsClientUIDelegateFromWebContents(web_contents())
- ->OnChooseCredentials(std::move(local_forms),
- std::move(dummy_federations),
- origin, intercept);
+ ->OnChooseCredentials(std::move(local_forms), origin, intercept);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698