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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller.h

Issue 2694893002: Integrate SMS service with Desktop iOS promotion (Closed)
Patch Set: Addressing comments/Update phone number usage/Change view-controller relation/Pending tests Created 3 years, 10 months 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/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

Powered by Google App Engine
This is Rietveld 408576698