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

Side by Side Diff: remoting/ios/domain/client_session_details.mm

Issue 2971903002: Adding error handling to the connection flow. (Closed)
Patch Set: Trying out activateConstraints. Created 3 years, 5 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/ios/domain/client_session_details.h ('k') | remoting/ios/session/remoting_client.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/ios/domain/client_session_details.h" 9 #import "remoting/ios/domain/client_session_details.h"
10 10
11 #import "remoting/ios/domain/host_info.h" 11 #import "remoting/ios/domain/host_info.h"
12 12
13 @implementation ClientSessionDetails 13 @implementation ClientSessionDetails
14 14
15 @synthesize hostInfo = _hostInfo; 15 @synthesize hostInfo = _hostInfo;
16 @synthesize state = _state; 16 @synthesize state = _state;
17 @synthesize error = _error;
17 18
18 - (NSString*)description { 19 - (NSString*)description {
19 return 20 return
20 [NSString stringWithFormat:@"ClientSessionDetails: state=%d hostInfo=%@", 21 [NSString stringWithFormat:@"ClientSessionDetails: state=%d hostInfo=%@",
21 (int)_state, _hostInfo]; 22 (int)_state, _hostInfo];
22 } 23 }
23 24
24 @end 25 @end
OLDNEW
« no previous file with comments | « remoting/ios/domain/client_session_details.h ('k') | remoting/ios/session/remoting_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698