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

Unified Diff: remoting/client/ios/domain/user_info.h

Issue 2681173002: Adding domain and facade supporting classes for remoting iOS app. (Closed)
Patch Set: Renaming domain objects based on feedback. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/domain/host_info.mm ('k') | remoting/client/ios/domain/user_info.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/domain/user_info.h
diff --git a/remoting/client/ios/domain/user_info.h b/remoting/client/ios/domain/user_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..726a3b25743a3ee59317bd9d7baadaa7dc7a2e0a
--- /dev/null
+++ b/remoting/client/ios/domain/user_info.h
@@ -0,0 +1,24 @@
+// 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 REMOTING_CLIENT_IOS_DOMAIN_USER_INFO_H_
+#define REMOTING_CLIENT_IOS_DOMAIN_USER_INFO_H_
+
+#import <Foundation/Foundation.h>
+
+// A detail record for a Remoting User.
+// TODO(nicholss): This is not the final object yet.
+@interface UserInfo : NSObject
+
+@property(nonatomic, copy) NSString* userId;
+@property(nonatomic, copy) NSString* userFullName;
+@property(nonatomic, copy) NSString* userEmail;
+
++ (User*)parseListFromJSON:(NSMutableData*)data;
+
+- (NSComparisonResult)compare:(UserInfo*)user;
+
+@end
+
+#endif // REMOTING_CLIENT_IOS_DOMAIN_USER_INFO_H_
« no previous file with comments | « remoting/client/ios/domain/host_info.mm ('k') | remoting/client/ios/domain/user_info.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698