Chromium Code Reviews| Index: chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
| diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
| index ae4a9b8b9de6abf2b3957e6f9478dd9efe1d2e7c..db163e505b24d584c469197d32dad0b99a001712 100644 |
| --- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
| +++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h |
| @@ -21,6 +21,7 @@ namespace content { |
| class WebContents; |
| } |
| +class DesktopIOSPromotionController; |
| class PasswordsModelDelegate; |
| class Profile; |
| @@ -117,6 +118,8 @@ class ManagePasswordsBubbleModel { |
| void SetClockForTesting(std::unique_ptr<base::Clock> clock); |
| + DesktopIOSPromotionController* GetDesktopIOSPromotionController(); |
|
vasilii
2017/02/17 14:19:37
Optionally: rename to ios_promotion_controller() a
mrefaat
2017/02/17 14:44:47
Done.
|
| + |
| private: |
| enum UserBehaviorOnUpdateBubble { |
| UPDATE_CLICKED, |
| @@ -145,6 +148,9 @@ class ManagePasswordsBubbleModel { |
| base::string16 save_confirmation_text_; |
| gfx::Range save_confirmation_link_range_; |
| + // The controller for the desktop ios promotion. |
| + std::unique_ptr<DesktopIOSPromotionController> ios_promotion_controller_; |
| + |
| // Responsible for recording all the interactions required. |
| std::unique_ptr<InteractionKeeper> interaction_keeper_; |