Index: chrome/browser/ui/passwords/manage_passwords_ui_controller.h |
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller.h b/chrome/browser/ui/passwords/manage_passwords_ui_controller.h |
index d3db96703b945a9a05f07482d90489f84bf6d645..eb365a6f883b53c10cdd0e3eb5092184fb743b79 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.h |
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.h |
@@ -29,6 +29,8 @@ class PasswordFormManager; |
class AccountChooserPrompt; |
class AutoSigninFirstRunPrompt; |
+class DesktopIOSPromotion; |
+class DesktopIOSPromotionController; |
class ManagePasswordsIconView; |
class PasswordDialogController; |
class PasswordDialogControllerImpl; |
@@ -102,6 +104,7 @@ class ManagePasswordsUIController |
void ChooseCredential( |
const autofill::PasswordForm& form, |
password_manager::CredentialType credential_type) override; |
+ DesktopIOSPromotion* GetDesktopIOSPromotion() override; |
void NavigateToSmartLockHelpPage() override; |
void NavigateToPasswordManagerSettingsPage() override; |
void NavigateToChromeSignIn() override; |
@@ -127,6 +130,9 @@ class ManagePasswordsUIController |
virtual AccountChooserPrompt* CreateAccountChooser( |
PasswordDialogController* controller); |
+ // Called to create the desktop to iOS promotion bubble. |
+ virtual DesktopIOSPromotion* CreateDesktopIOSPromotion(); |
+ |
// Called to create the account chooser dialog. Mocked in tests. |
virtual AutoSigninFirstRunPrompt* CreateAutoSigninPrompt( |
PasswordDialogController* controller); |
@@ -173,6 +179,9 @@ class ManagePasswordsUIController |
// The controller for the blocking dialogs. |
std::unique_ptr<PasswordDialogControllerImpl> dialog_controller_; |
+ // The controller for the desktop ios promotion. |
+ std::unique_ptr<DesktopIOSPromotionController> ios_promotion_controller_; |
+ |
BubbleStatus bubble_status_; |
// The bubbles of different types can pop up unpredictably superseding each |