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

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

Issue 2694893002: Integrate SMS service with Desktop iOS promotion (Closed)
Patch Set: passwords and histogram changes 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_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_;

Powered by Google App Engine
This is Rietveld 408576698