OLD | NEW |
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_CONNECTION_TO_HOST_H_ | 5 #ifndef REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 6 #define REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "remoting/protocol/errors.h" | 13 #include "remoting/protocol/errors.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
17 } // namespace base | 17 } // namespace base |
18 | 18 |
19 namespace remoting { | 19 namespace remoting { |
20 namespace protocol { | 20 namespace protocol { |
21 | 21 |
22 class AudioStub; | 22 class AudioStub; |
23 class Authenticator; | |
24 class ClientStub; | 23 class ClientStub; |
25 class ClipboardStub; | 24 class ClipboardStub; |
26 class HostStub; | 25 class HostStub; |
27 class InputStub; | 26 class InputStub; |
28 class Session; | 27 class Session; |
29 class SessionConfig; | 28 class SessionConfig; |
30 class TransportContext; | 29 class TransportContext; |
31 struct TransportRoute; | 30 struct TransportRoute; |
32 class VideoRenderer; | 31 class VideoRenderer; |
33 | 32 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 virtual InputStub* input_stub() = 0; | 99 virtual InputStub* input_stub() = 0; |
101 | 100 |
102 // Return the current state of ConnectionToHost. | 101 // Return the current state of ConnectionToHost. |
103 virtual State state() const = 0; | 102 virtual State state() const = 0; |
104 }; | 103 }; |
105 | 104 |
106 } // namespace protocol | 105 } // namespace protocol |
107 } // namespace remoting | 106 } // namespace remoting |
108 | 107 |
109 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ | 108 #endif // REMOTING_PROTOCOL_CONNECTION_TO_HOST_H_ |
OLD | NEW |