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

Side by Side Diff: remoting/protocol/session.h

Issue 205583011: [Draft] Fix canceling pin prompt causes host overload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedbacks from sergey Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef REMOTING_PROTOCOL_SESSION_H_ 5 #ifndef REMOTING_PROTOCOL_SESSION_H_
6 #define REMOTING_PROTOCOL_SESSION_H_ 6 #define REMOTING_PROTOCOL_SESSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "remoting/protocol/errors.h" 10 #include "remoting/protocol/errors.h"
(...skipping 20 matching lines...) Expand all
31 31
32 // Sent session-initiate, but haven't received session-accept. 32 // Sent session-initiate, but haven't received session-accept.
33 CONNECTING, 33 CONNECTING,
34 34
35 // Received session-initiate, but haven't sent session-accept. 35 // Received session-initiate, but haven't sent session-accept.
36 ACCEPTING, 36 ACCEPTING,
37 37
38 // Session has been accepted and is pending authentication. 38 // Session has been accepted and is pending authentication.
39 CONNECTED, 39 CONNECTED,
40 40
41 // Session has started authenticating.
42 AUTHENTICATING,
43
41 // Session has been connected and authenticated. 44 // Session has been connected and authenticated.
42 AUTHENTICATED, 45 AUTHENTICATED,
43 46
44 // Session has been closed. 47 // Session has been closed.
45 CLOSED, 48 CLOSED,
46 49
47 // Connection has failed. 50 // Connection has failed.
48 FAILED, 51 FAILED,
49 }; 52 };
50 53
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void Close() = 0; 114 virtual void Close() = 0;
112 115
113 private: 116 private:
114 DISALLOW_COPY_AND_ASSIGN(Session); 117 DISALLOW_COPY_AND_ASSIGN(Session);
115 }; 118 };
116 119
117 } // namespace protocol 120 } // namespace protocol
118 } // namespace remoting 121 } // namespace remoting
119 122
120 #endif // REMOTING_PROTOCOL_SESSION_H_ 123 #endif // REMOTING_PROTOCOL_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698