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

Unified Diff: chrome/browser/ui/passwords/password_dialog_controller_impl.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/ui/passwords/password_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/passwords/password_dialog_controller_impl.cc b/chrome/browser/ui/passwords/password_dialog_controller_impl.cc
index 3ffa78734eb44e76e503c8e2ef4c3bde91177aac..55e9d6044271192643ca69c79a5a248fd36ad179 100644
--- a/chrome/browser/ui/passwords/password_dialog_controller_impl.cc
+++ b/chrome/browser/ui/passwords/password_dialog_controller_impl.cc
@@ -43,13 +43,11 @@ PasswordDialogControllerImpl::~PasswordDialogControllerImpl() {
void PasswordDialogControllerImpl::ShowAccountChooser(
AccountChooserPrompt* dialog,
- std::vector<std::unique_ptr<autofill::PasswordForm>> locals,
- std::vector<std::unique_ptr<autofill::PasswordForm>> federations) {
+ std::vector<std::unique_ptr<autofill::PasswordForm>> locals) {
DCHECK(!account_chooser_dialog_);
DCHECK(!autosignin_dialog_);
DCHECK(dialog);
local_credentials_.swap(locals);
- federated_credentials_.swap(federations);
account_chooser_dialog_ = dialog;
account_chooser_dialog_->ShowAccountChooser();
}
@@ -68,11 +66,6 @@ PasswordDialogControllerImpl::GetLocalForms() const {
return local_credentials_;
}
-const PasswordDialogController::FormsVector&
-PasswordDialogControllerImpl::GetFederationsForms() const {
- return federated_credentials_;
-}
-
std::pair<base::string16, gfx::Range>
PasswordDialogControllerImpl::GetAccoutChooserTitle() const {
std::pair<base::string16, gfx::Range> result;

Powered by Google App Engine
This is Rietveld 408576698