Index: remoting/client/ios/domain/user.h |
diff --git a/remoting/client/ios/domain/user.h b/remoting/client/ios/domain/user.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fdae7ce52ae2ba68c8141d2bfe7e6aa2f26b2cb9 |
--- /dev/null |
+++ b/remoting/client/ios/domain/user.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_H_ |
+#define REMOTING_CLIENT_IOS_DOMAIN_USER_H_ |
+ |
+#import <Foundation/Foundation.h> |
+ |
+// A detail record for a Remoting User. |
+// TODO(nicholss): This is not the final object yet. |
+@interface User : NSObject |
Sergey Ulanov
2017/02/10 19:02:02
Maybe UserInfo?
nicholss
2017/02/13 22:10:11
Sure, sounds good.
|
+ |
+@property(nonatomic, copy) NSString* userId; |
Sergey Ulanov
2017/02/10 19:02:02
Not sure what we actually need this field. How wou
nicholss
2017/02/13 22:10:11
I am not 100% sure yet, this class is a placeholde
|
+@property(nonatomic, copy) NSString* userFullName; |
+@property(nonatomic, copy) NSString* userEmail; |
+ |
++ (User*)parseListFromJSON:(NSMutableData*)data; |
+ |
+- (NSComparisonResult)compare:(User*)user; |
+ |
+@end |
+ |
+#endif // REMOTING_CLIENT_IOS_DOMAIN_USER_H_ |