OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ | |
6 #define IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 #import "ios/chrome/browser/ui/authentication/signin_promo_view.h" | |
11 | |
12 // Class that configures a SigninPromoView instance. This class is a simple | |
13 // implementation that only stores data. | |
14 // TODO(jlebel): Create a subclass that monitor profile notification. | |
15 @interface SigninPromoViewMediator : NSObject<SigninPromoViewConfigurator> | |
16 | |
17 @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
| |
18 @property(nonatomic, copy) NSString* userEmail; | |
19 @property(nonatomic, copy) UIImage* userImage; | |
20 | |
21 @end | |
22 | |
23 #endif // IOS_CHROME_BROWSER_UI_AUTHENTICATION_SIGNIN_PROMO_VIEW_MEDIATOR_H_ | |
OLD | NEW |