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

Side by Side Diff: remoting/client/ios/host.h

Issue 2802363002: Update build files and app delegate for new changes to app support files. (Closed)
Patch Set: Created 3 years, 8 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/client/ios/bridge/DEPS ('k') | remoting/client/ios/host.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 REMOTING_CLIENT_IOS_HOST_H_
6 #define REMOTING_CLIENT_IOS_HOST_H_
7
8 #import <Foundation/Foundation.h>
9
10 // A detail record for a Chromoting Host.
11 @interface Host : NSObject
12
13 // Various properties of the Chromoting Host.
14 @property(nonatomic, copy) NSString* createdTime;
15 @property(nonatomic, copy) NSString* hostId;
16 @property(nonatomic, copy) NSString* hostName;
17 @property(nonatomic, copy) NSString* hostVersion;
18 @property(nonatomic, copy) NSString* jabberId;
19 @property(nonatomic, copy) NSString* kind;
20 @property(nonatomic, copy) NSString* publicKey;
21 @property(nonatomic, copy) NSString* status;
22 @property(nonatomic, copy) NSDate* updatedTime;
23 // True when |status| is @"ONLINE", anything else is False.
24 @property(nonatomic, readonly) bool isOnline;
25
26 + (NSMutableArray*)parseListFromJSON:(NSMutableData*)data;
27
28 // First consider if |isOnline| is greater than anything else, then consider by
29 // case insensitive locale of |hostName|.
30 - (NSComparisonResult)compare:(Host*)host;
31
32 @end
33
34 #endif // REMOTING_CLIENT_IOS_HOST_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/bridge/DEPS ('k') | remoting/client/ios/host.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698