| Index: chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| index 47e20045506d50e4ae951df35774a76a90a06ff9..6da10073caf5533b85cfefca19a1a23708a1c90e 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| @@ -24,6 +24,7 @@
|
|
|
| #if defined(OS_ANDROID)
|
| #include "chrome/browser/android/chromium_application.h"
|
| +#include "chrome/browser/password_manager/account_chooser_infobar_delegate_android.h"
|
| #endif
|
|
|
| using autofill::PasswordFormMap;
|
| @@ -128,7 +129,13 @@ bool ManagePasswordsUIController::OnChooseCredentials(
|
| // The map is useless because usernames may overlap.
|
| password_form_map_.clear();
|
| SetState(password_manager::ui::CREDENTIAL_REQUEST_AND_BUBBLE_STATE);
|
| +#if defined(OS_ANDROID)
|
| + AccountChooserInfoBarDelegateAndroid::Create(web_contents(), this);
|
| + credentials_callback_ = callback;
|
| + return true;
|
| +#else
|
| UpdateBubbleAndIconVisibility();
|
| +#endif
|
| if (bubble_shown_)
|
| credentials_callback_ = callback;
|
| return bubble_shown_;
|
|
|