| 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 b6eeaefc8266a12250ed5b063ecbec6b427855aa..bcdda4e6334b6a7dca60fe7931fb4bd5cdb5a3f8 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| @@ -25,6 +25,8 @@
|
|
|
| #if defined(OS_ANDROID)
|
| #include "chrome/browser/android/chromium_application.h"
|
| +#include "chrome/browser/infobars/infobar_service.h"
|
| +#include "chrome/browser/password_manager/account_chooser_infobar_delegate_android.h"
|
| #endif
|
|
|
| using autofill::PasswordFormMap;
|
| @@ -128,7 +130,13 @@ bool ManagePasswordsUIController::OnChooseCredentials(
|
| origin_ = origin;
|
| SetState(password_manager::ui::CREDENTIAL_REQUEST_STATE);
|
| base::AutoReset<bool> resetter(&should_pop_up_bubble_, true);
|
| +#if defined(OS_ANDROID)
|
| + AccountChooserInfoBarDelegateAndroid::Create(
|
| + InfoBarService::FromWebContents(web_contents()), this);
|
| + should_pop_up_bubble_ = false;
|
| +#else
|
| UpdateBubbleAndIconVisibility();
|
| +#endif
|
| if (!should_pop_up_bubble_) {
|
| credentials_callback_ = callback;
|
| return true;
|
|
|