| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/time.h" | 13 #include "base/time.h" |
| 14 #include "remoting/base/scoped_thread_proxy.h" | 14 #include "remoting/base/scoped_thread_proxy.h" |
| 15 #include "remoting/client/client_config.h" | 15 #include "remoting/client/client_config.h" |
| 16 #include "remoting/client/chromoting_stats.h" | 16 #include "remoting/client/chromoting_stats.h" |
| 17 #include "remoting/client/chromoting_view.h" | 17 #include "remoting/client/chromoting_view.h" |
| 18 #include "remoting/protocol/client_stub.h" | 18 #include "remoting/protocol/client_stub.h" |
| 19 #include "remoting/protocol/connection_to_host.h" | 19 #include "remoting/protocol/connection_to_host.h" |
| 20 #include "remoting/protocol/input_stub.h" | 20 #include "remoting/protocol/input_stub.h" |
| 21 #include "remoting/protocol/video_stub.h" | 21 #include "remoting/protocol/video_stub.h" |
| 22 #include "remoting/jingle_glue/xmpp_proxy.h" | 22 #include "remoting/jingle_glue/xmpp_proxy.h" |
| 23 | 23 |
| 24 class MessageLoop; | 24 class MessageLoop; |
| 25 | 25 |
| 26 namespace remoting { | 26 namespace remoting { |
| 27 | 27 |
| 28 namespace protocol { | |
| 29 class LocalLoginStatus; | |
| 30 class NotifyResolutionRequest; | |
| 31 } // namespace protocol | |
| 32 | |
| 33 class ClientContext; | 28 class ClientContext; |
| 34 class InputHandler; | 29 class InputHandler; |
| 35 class RectangleUpdateDecoder; | 30 class RectangleUpdateDecoder; |
| 36 | 31 |
| 37 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder. | 32 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder. |
| 38 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, | 33 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
| 39 public protocol::ClientStub, | 34 public protocol::ClientStub, |
| 40 public protocol::VideoStub { | 35 public protocol::VideoStub { |
| 41 public: | 36 public: |
| 42 // Objects passed in are not owned by this class. | 37 // Objects passed in are not owned by this class. |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 int64 last_sequence_number_; | 116 int64 last_sequence_number_; |
| 122 | 117 |
| 123 ScopedThreadProxy thread_proxy_; | 118 ScopedThreadProxy thread_proxy_; |
| 124 | 119 |
| 125 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 120 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); |
| 126 }; | 121 }; |
| 127 | 122 |
| 128 } // namespace remoting | 123 } // namespace remoting |
| 129 | 124 |
| 130 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 125 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
| OLD | NEW |