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 // ChromotingClient is the controller for the Client implementation. | 5 // ChromotingClient is the controller for the Client implementation. |
6 | 6 |
7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 namespace remoting { | 31 namespace remoting { |
32 | 32 |
33 namespace protocol { | 33 namespace protocol { |
34 class CandidateSessionConfig; | 34 class CandidateSessionConfig; |
35 class SessionManager; | 35 class SessionManager; |
36 class TransportContext; | 36 class TransportContext; |
37 class VideoRenderer; | 37 class VideoRenderer; |
38 } // namespace protocol | 38 } // namespace protocol |
39 | 39 |
40 class AudioDecodeScheduler; | |
41 class ClientContext; | 40 class ClientContext; |
42 class ClientUserInterface; | 41 class ClientUserInterface; |
43 class FrameConsumerProxy; | |
44 | 42 |
45 class ChromotingClient : public SignalStrategy::Listener, | 43 class ChromotingClient : public SignalStrategy::Listener, |
46 public protocol::ConnectionToHost::HostEventCallback, | 44 public protocol::ConnectionToHost::HostEventCallback, |
47 public protocol::ClientStub { | 45 public protocol::ClientStub { |
48 public: | 46 public: |
49 // |client_context|, |user_interface| and |video_renderer| must outlive the | 47 // |client_context|, |user_interface| and |video_renderer| must outlive the |
50 // client. |audio_consumer| may be null, in which case audio will not be | 48 // client. |audio_consumer| may be null, in which case audio will not be |
51 // requested. | 49 // requested. |
52 ChromotingClient(ClientContext* client_context, | 50 ChromotingClient(ClientContext* client_context, |
53 ClientUserInterface* user_interface, | 51 ClientUserInterface* user_interface, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 138 |
141 // True if |protocol::Capabilities| message has been received. | 139 // True if |protocol::Capabilities| message has been received. |
142 bool host_capabilities_received_ = false; | 140 bool host_capabilities_received_ = false; |
143 | 141 |
144 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 142 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); |
145 }; | 143 }; |
146 | 144 |
147 } // namespace remoting | 145 } // namespace remoting |
148 | 146 |
149 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 147 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
OLD | NEW |