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

Unified Diff: remoting/client/ios/domain/host_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/domain/client_session_details.mm ('k') | remoting/client/ios/domain/host_info.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/domain/host_info.h
diff --git a/remoting/client/ios/domain/host_info.h b/remoting/client/ios/domain/host_info.h
deleted file mode 100644
index ad646a1b28cf29815ebfd3ec9bf953013d2a4243..0000000000000000000000000000000000000000
--- a/remoting/client/ios/domain/host_info.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 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_HOST_INFO_H_
-#define REMOTING_CLIENT_IOS_DOMAIN_HOST_INFO_H_
-
-#import <Foundation/Foundation.h>
-
-// A detail record for a Remoting Host.
-@interface HostInfo : NSObject
-
-// Various properties of the Remoting Host.
-@property(nonatomic, copy) NSString* createdTime;
-@property(nonatomic, copy) NSString* hostId;
-@property(nonatomic, copy) NSString* hostName;
-@property(nonatomic, copy) NSString* hostVersion;
-@property(nonatomic, copy) NSString* jabberId;
-@property(nonatomic, copy) NSString* kind;
-@property(nonatomic, copy) NSString* publicKey;
-@property(nonatomic, copy) NSString* status;
-@property(nonatomic, copy) NSDate* updatedTime;
-// True when |status| is @"ONLINE", anything else is False.
-@property(nonatomic, readonly) bool isOnline;
-
-// Convert a json blob into a |HostInfo| object. Most useful for test.
-// TODO(nicholss): Might move this out into a catagory.
-+ (NSMutableArray<HostInfo*>*)parseListFromJSON:(NSMutableData*)data;
-
-// First consider if |isOnline| is greater than anything else, then consider by
-// case insensitive locale of |hostName|.
-- (NSComparisonResult)compare:(HostInfo*)host;
-
-@end
-
-#endif // REMOTING_CLIENT_IOS_DOMAIN_HOST_INFO_H_
« no previous file with comments | « remoting/client/ios/domain/client_session_details.mm ('k') | remoting/client/ios/domain/host_info.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698