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

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

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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/protocol/protocol_mock_objects.h ('k') | remoting/protocol/token_validator.h » ('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 (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 "base/macros.h" 10 #include "base/macros.h"
11 #include "remoting/protocol/errors.h" 11 #include "remoting/protocol/errors.h"
12 #include "remoting/protocol/session_config.h" 12 #include "remoting/protocol/session_config.h"
13 #include "remoting/protocol/transport.h" 13 #include "remoting/protocol/transport.h"
14 14
15 namespace buzz {
16 class XmlElement;
17 } // namespace buzz
18
19 namespace remoting { 15 namespace remoting {
20 namespace protocol { 16 namespace protocol {
21 17
22 class Authenicator;
23 class StreamChannelFactory;
24 class Transport; 18 class Transport;
25 struct TransportRoute;
26 19
27 // Session is responsible for initializing and authenticating both incoming and 20 // Session is responsible for initializing and authenticating both incoming and
28 // outgoing connections. It uses TransportInfoSink interface to pass 21 // outgoing connections. It uses TransportInfoSink interface to pass
29 // transport-info messages to the transport. 22 // transport-info messages to the transport.
30 class Session { 23 class Session {
31 public: 24 public:
32 enum State { 25 enum State {
33 // Created, but not connecting yet. 26 // Created, but not connecting yet.
34 INITIALIZING, 27 INITIALIZING,
35 28
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void Close(ErrorCode error) = 0; 86 virtual void Close(ErrorCode error) = 0;
94 87
95 private: 88 private:
96 DISALLOW_COPY_AND_ASSIGN(Session); 89 DISALLOW_COPY_AND_ASSIGN(Session);
97 }; 90 };
98 91
99 } // namespace protocol 92 } // namespace protocol
100 } // namespace remoting 93 } // namespace remoting
101 94
102 #endif // REMOTING_PROTOCOL_SESSION_H_ 95 #endif // REMOTING_PROTOCOL_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/token_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698