OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/host_info.h" | 9 #import "remoting/ios/domain/host_info.h" |
10 | 10 |
11 @implementation HostInfo | 11 @implementation HostInfo |
12 | 12 |
13 @synthesize createdTime = _createdTime; | 13 @synthesize createdTime = _createdTime; |
14 @synthesize hostId = _hostId; | 14 @synthesize hostId = _hostId; |
15 @synthesize hostName = _hostName; | 15 @synthesize hostName = _hostName; |
16 @synthesize hostVersion = _hostVersion; | 16 @synthesize hostVersion = _hostVersion; |
17 @synthesize jabberId = _jabberId; | 17 @synthesize jabberId = _jabberId; |
18 @synthesize kind = _kind; | 18 @synthesize kind = _kind; |
19 @synthesize publicKey = _publicKey; | 19 @synthesize publicKey = _publicKey; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 } | 73 } |
74 } | 74 } |
75 | 75 |
76 - (NSString*)description { | 76 - (NSString*)description { |
77 return | 77 return |
78 [NSString stringWithFormat:@"HostInfo: name=%@ status=%@ updatedTime= %@", | 78 [NSString stringWithFormat:@"HostInfo: name=%@ status=%@ updatedTime= %@", |
79 _hostName, _status, _updatedTime]; | 79 _hostName, _status, _updatedTime]; |
80 } | 80 } |
81 | 81 |
82 @end | 82 @end |
OLD | NEW |