Index: ios/chrome/browser/ui/authentication/signin_promo_view_mediator.h |
diff --git a/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.h b/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a87d243d055087740226a4681218b90f79cc294a |
--- /dev/null |
+++ b/ios/chrome/browser/ui/authentication/signin_promo_view_mediator.h |
@@ -0,0 +1,23 @@ |
+// 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 IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ |
+#define IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ |
+ |
+#import <Foundation/Foundation.h> |
+ |
+#import "ios/chrome/browser/ui/authentication/signin_promo_view.h" |
+ |
+// Class that configures a SigninPromoView instance. This class is a simple |
+// implementation that only stores data. |
+// TODO(jlebel): Create a subclass that monitor profile notification. |
lpromero
2017/03/24 10:36:20
monitors
presubmit will also ask you to change the
jlebel
2017/03/24 20:59:09
Done.
|
+@interface SigninPromoViewMediator : NSObject<SigninPromoViewConfigurator> |
+ |
+@property(nonatomic, copy) NSString* userFullName; |
msarda
2017/03/22 12:18:39
My understanding is that the mediator mediates bet
lpromero
2017/03/22 16:18:49
Right, the mediator is not part of the UI layer, a
jlebel
2017/03/24 20:59:09
The ProfileSigninPromoViewMediator will be able to
msarda
2017/03/27 09:34:16
I do not understand the interest of having a Signi
lpromero
2017/03/27 13:14:46
Agreed. The cell catalog should not add complexity
|
+@property(nonatomic, copy) NSString* userEmail; |
+@property(nonatomic, copy) UIImage* userImage; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ |