| 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 <string> | 10 #include <string> | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 32 class SessionManager; | 32 class SessionManager; | 
| 33 class TransportContext; | 33 class TransportContext; | 
| 34 class VideoRenderer; | 34 class VideoRenderer; | 
| 35 }  // namespace protocol | 35 }  // namespace protocol | 
| 36 | 36 | 
| 37 class AudioDecodeScheduler; | 37 class AudioDecodeScheduler; | 
| 38 class AudioPlayer; | 38 class AudioPlayer; | 
| 39 class ClientContext; | 39 class ClientContext; | 
| 40 class ClientUserInterface; | 40 class ClientUserInterface; | 
| 41 class FrameConsumerProxy; | 41 class FrameConsumerProxy; | 
| 42 class FrameProducer; |  | 
| 43 | 42 | 
| 44 class ChromotingClient : public SignalStrategy::Listener, | 43 class ChromotingClient : public SignalStrategy::Listener, | 
| 45                          public protocol::ConnectionToHost::HostEventCallback, | 44                          public protocol::ConnectionToHost::HostEventCallback, | 
| 46                          public protocol::ClientStub { | 45                          public protocol::ClientStub { | 
| 47  public: | 46  public: | 
| 48   // |client_context|, |user_interface| and |video_renderer| must outlive the | 47   // |client_context|, |user_interface| and |video_renderer| must outlive the | 
| 49   // client. |audio_player| may be null, in which case audio will not be | 48   // client. |audio_player| may be null, in which case audio will not be | 
| 50   // requested. | 49   // requested. | 
| 51   ChromotingClient(ClientContext* client_context, | 50   ChromotingClient(ClientContext* client_context, | 
| 52                    ClientUserInterface* user_interface, | 51                    ClientUserInterface* user_interface, | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 140 | 139 | 
| 141   // Record the statistics of the connection. | 140   // Record the statistics of the connection. | 
| 142   protocol::PerformanceTracker perf_tracker_; | 141   protocol::PerformanceTracker perf_tracker_; | 
| 143 | 142 | 
| 144   DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 143   DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 
| 145 }; | 144 }; | 
| 146 | 145 | 
| 147 }  // namespace remoting | 146 }  // namespace remoting | 
| 148 | 147 | 
| 149 #endif  // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 148 #endif  // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 
| OLD | NEW | 
|---|