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

Side by Side Diff: remoting/ios/domain/user_info.h

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « remoting/ios/domain/host_info.mm ('k') | remoting/ios/domain/user_info.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_IOS_DOMAIN_USER_INFO_H_ 5 #ifndef REMOTING_IOS_DOMAIN_USER_INFO_H_
6 #define REMOTING_CLIENT_IOS_DOMAIN_USER_INFO_H_ 6 #define REMOTING_IOS_DOMAIN_USER_INFO_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 // A detail record for a Remoting User. 10 // A detail record for a Remoting User.
11 // TODO(nicholss): This is not the final object yet. 11 // TODO(nicholss): This is not the final object yet.
12 @interface UserInfo : NSObject 12 @interface UserInfo : NSObject
13 13
14 @property(nonatomic, copy) NSString* userId; 14 @property(nonatomic, copy) NSString* userId;
15 @property(nonatomic, copy) NSString* userFullName; 15 @property(nonatomic, copy) NSString* userFullName;
16 @property(nonatomic, copy) NSString* userEmail; 16 @property(nonatomic, copy) NSString* userEmail;
17 @property(nonatomic, copy) NSString* refreshToken; 17 @property(nonatomic, copy) NSString* refreshToken;
18 18
19 // Convert a json blob into a |UserInfo| object. Most useful for test. 19 // Convert a json blob into a |UserInfo| object. Most useful for test.
20 // TODO(nicholss): Might move this out into a catagory. 20 // TODO(nicholss): Might move this out into a catagory.
21 + (UserInfo*)parseListFromJSON:(NSMutableData*)data; 21 + (UserInfo*)parseListFromJSON:(NSMutableData*)data;
22 22
23 // This returns the authenticated state of the this user info object. 23 // This returns the authenticated state of the this user info object.
24 - (BOOL)isAuthenticated; 24 - (BOOL)isAuthenticated;
25 // Compare two |UserInfo| objects. 25 // Compare two |UserInfo| objects.
26 - (NSComparisonResult)compare:(UserInfo*)user; 26 - (NSComparisonResult)compare:(UserInfo*)user;
27 27
28 @end 28 @end
29 29
30 #endif // REMOTING_CLIENT_IOS_DOMAIN_USER_INFO_H_ 30 #endif // REMOTING_IOS_DOMAIN_USER_INFO_H_
OLDNEW
« no previous file with comments | « remoting/ios/domain/host_info.mm ('k') | remoting/ios/domain/user_info.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698