| 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 077edddd041926c677f5ae4300a42fca98cef3bf..fb585d4f0eeceb7e0699d45f4c556779a1ac3a61 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
|
| @@ -16,6 +16,9 @@
|
| #include "chrome/browser/ui/browser_navigator_params.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/chrome_pages.h"
|
| +#include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion.h"
|
| +#include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_controller.h"
|
| +#include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h"
|
| #include "chrome/browser/ui/location_bar/location_bar.h"
|
| #include "chrome/browser/ui/passwords/manage_passwords_icon_view.h"
|
| #include "chrome/browser/ui/passwords/password_dialog_controller_impl.h"
|
| @@ -400,6 +403,13 @@ AccountChooserPrompt* ManagePasswordsUIController::CreateAccountChooser(
|
| return CreateAccountChooserPromptView(controller, web_contents());
|
| }
|
|
|
| +DesktopIOSPromotion* ManagePasswordsUIController::CreateDesktopIOSPromotion() {
|
| + ios_promotion_controller_.reset(new DesktopIOSPromotionController(
|
| + Profile::FromBrowserContext(web_contents()->GetBrowserContext()),
|
| + desktop_ios_promotion::PromotionEntryPoint::SAVE_PASSWORD_BUBBLE));
|
| + return CreateDesktopIOSPromotionView(ios_promotion_controller_.get());
|
| +}
|
| +
|
| AutoSigninFirstRunPrompt* ManagePasswordsUIController::CreateAutoSigninPrompt(
|
| PasswordDialogController* controller) {
|
| return CreateAutoSigninPromptView(controller, web_contents());
|
|
|