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

Side by Side Diff: remoting/client/ios/domain/client_session_details.h

Issue 2846603002: Updating Pin Entry View and creating Connection Status View. (Closed)
Patch Set: Use viewWillLayoutSubviews. 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_CLIENT_IOS_DOMAIN_CLIENT_SESSION_DETAILS_H_
6 #define REMOTING_CLIENT_IOS_DOMAIN_CLIENT_SESSION_DETAILS_H_
7
8 #import <Foundation/Foundation.h>
9
10 @class HostInfo;
11
12 // Session states that map to |remoting::protocol::ConnectionToHost::State| with
13 // the added state of PinPrompt. This can be used to track the state of the
14 // session for the duration of the connection.
15 typedef NS_ENUM(NSInteger, SessionState) {
16 SessionInitializing,
17 SessionConnecting,
18 SessionPinPrompt,
19 SessionAuthenticated,
20 SessionConnected,
21 SessionFailed,
22 SessionClosed,
23 };
24
25 // The current state of a session and data needed for session context.
26 @interface ClientSessionDetails : NSObject
27
28 // This is the object that describes the host this session is centered around.
29 @property(nonatomic) HostInfo* hostInfo;
30 // The current state of the session.
31 @property(nonatomic, assign) SessionState state;
32
33 @end
34
35 #endif // REMOTING_CLIENT_IOS_DOMAIN_CLIENT_SESSION_DETAILS_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/domain/BUILD.gn ('k') | remoting/client/ios/domain/client_session_details.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698