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

Unified Diff: chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion.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/desktop_ios_promotion/desktop_ios_promotion.h
diff --git a/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion.h b/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion.h
new file mode 100644
index 0000000000000000000000000000000000000000..0eb160af55624b31735d71741946796071c9a6d5
--- /dev/null
+++ b/chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion.h
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_H_
+#define CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_H_
+
+class DesktopIOSPromotionController;
+namespace desktop_ios_promotion {
+enum class PromotionEntryPoint;
+}
+
+// Interface for The Desktop iOS Promotion.
+class DesktopIOSPromotion {
+ public:
+ virtual void UpdateRecoveryPhoneLabel() = 0;
+
+ protected:
+ virtual ~DesktopIOSPromotion() = default;
sky 2017/02/17 00:57:22 You shouldn't actually need the = default here.
mrefaat 2017/02/17 04:31:49 Done.
+};
+
+DesktopIOSPromotion* CreateDesktopIOSPromotionView(
+ DesktopIOSPromotionController* controller);
+
+#endif // CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_DESKTOP_IOS_PROMOTION_H_

Powered by Google App Engine
This is Rietveld 408576698