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. |
+@interface SigninPromoViewMediator : NSObject<SigninPromoViewConfigurator> |
+ |
+@property(nonatomic, copy) NSString* userFullName; |
msarda
2017/03/16 22:15:31
Mediator should also take a ChromeIdentity object
jlebel
2017/03/21 17:22:29
No, that's the point of the TODO. Plus that would
msarda
2017/03/22 12:18:38
ChromeIdentity and ChromeIdentityService do not de
|
+@property(nonatomic, copy) NSString* userEmail; |
+@property(nonatomic, copy) UIImage* userImage; |
+ |
+@end |
+ |
+#endif // IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ |