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

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

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/user_info.h ('k') | remoting/ios/facade/BUILD.gn » ('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 #if !defined(__has_feature) || !__has_feature(objc_arc) 5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support." 6 #error "This file requires ARC support."
7 #endif 7 #endif
8 8
9 #import "remoting/client/ios/domain/user_info.h" 9 #import "remoting/ios/domain/user_info.h"
10 10
11 @implementation UserInfo 11 @implementation UserInfo
12 12
13 @synthesize userId = _userId; 13 @synthesize userId = _userId;
14 @synthesize userFullName = _userFullName; 14 @synthesize userFullName = _userFullName;
15 @synthesize userEmail = _userEmail; 15 @synthesize userEmail = _userEmail;
16 @synthesize refreshToken = _refreshToken; 16 @synthesize refreshToken = _refreshToken;
17 17
18 // Parse jsonData into Host list. 18 // Parse jsonData into Host list.
19 + (UserInfo*)parseListFromJSON:(NSMutableData*)data { 19 + (UserInfo*)parseListFromJSON:(NSMutableData*)data {
(...skipping 23 matching lines...) Expand all
43 - (NSComparisonResult)compare:(UserInfo*)user { 43 - (NSComparisonResult)compare:(UserInfo*)user {
44 return [self.userId compare:user.userId]; 44 return [self.userId compare:user.userId];
45 } 45 }
46 46
47 - (NSString*)description { 47 - (NSString*)description {
48 return [NSString stringWithFormat:@"UserInfo: userEmail=%@ refreshToken=%@", 48 return [NSString stringWithFormat:@"UserInfo: userEmail=%@ refreshToken=%@",
49 _userEmail, _refreshToken]; 49 _userEmail, _refreshToken];
50 } 50 }
51 51
52 @end 52 @end
OLDNEW
« no previous file with comments | « remoting/ios/domain/user_info.h ('k') | remoting/ios/facade/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698