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 <list> | 10 #include <list> |
(...skipping 14 matching lines...) Expand all Loading... |
25 class MessageLoop; | 25 class MessageLoop; |
26 | 26 |
27 namespace remoting { | 27 namespace remoting { |
28 | 28 |
29 class ClientContext; | 29 class ClientContext; |
30 class RectangleUpdateDecoder; | 30 class RectangleUpdateDecoder; |
31 | 31 |
32 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder. | 32 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder. |
33 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, | 33 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
34 public protocol::ClientStub, | 34 public protocol::ClientStub, |
35 public protocol::ClipboardStub, | |
36 public protocol::VideoStub { | 35 public protocol::VideoStub { |
37 public: | 36 public: |
38 // Objects passed in are not owned by this class. | 37 // Objects passed in are not owned by this class. |
39 ChromotingClient(const ClientConfig& config, | 38 ChromotingClient(const ClientConfig& config, |
40 ClientContext* context, | 39 ClientContext* context, |
41 protocol::ConnectionToHost* connection, | 40 protocol::ConnectionToHost* connection, |
42 ChromotingView* view, | 41 ChromotingView* view, |
43 RectangleUpdateDecoder* rectangle_decoder, | 42 RectangleUpdateDecoder* rectangle_decoder, |
44 const base::Closure& client_done); | 43 const base::Closure& client_done); |
45 virtual ~ChromotingClient(); | 44 virtual ~ChromotingClient(); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 int64 last_sequence_number_; | 116 int64 last_sequence_number_; |
118 | 117 |
119 ScopedThreadProxy thread_proxy_; | 118 ScopedThreadProxy thread_proxy_; |
120 | 119 |
121 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 120 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); |
122 }; | 121 }; |
123 | 122 |
124 } // namespace remoting | 123 } // namespace remoting |
125 | 124 |
126 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 125 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
OLD | NEW |