| 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> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/threading/thread_checker.h" |
| 16 #include "remoting/protocol/client_authentication_config.h" | 17 #include "remoting/protocol/client_authentication_config.h" |
| 17 #include "remoting/protocol/client_stub.h" | 18 #include "remoting/protocol/client_stub.h" |
| 18 #include "remoting/protocol/clipboard_stub.h" | 19 #include "remoting/protocol/clipboard_stub.h" |
| 19 #include "remoting/protocol/connection_to_host.h" | 20 #include "remoting/protocol/connection_to_host.h" |
| 20 #include "remoting/protocol/input_stub.h" | 21 #include "remoting/protocol/input_stub.h" |
| 21 #include "remoting/protocol/mouse_input_filter.h" | 22 #include "remoting/protocol/mouse_input_filter.h" |
| 22 #include "remoting/protocol/performance_tracker.h" | |
| 23 #include "remoting/protocol/session_config.h" | 23 #include "remoting/protocol/session_config.h" |
| 24 #include "remoting/protocol/video_stub.h" | 24 #include "remoting/protocol/video_stub.h" |
| 25 #include "remoting/signaling/signal_strategy.h" | 25 #include "remoting/signaling/signal_strategy.h" |
| 26 | 26 |
| 27 namespace base { | 27 namespace base { |
| 28 class SingleThreadTaskRunner; | 28 class SingleThreadTaskRunner; |
| 29 } // namespace base | 29 } // namespace base |
| 30 | 30 |
| 31 namespace remoting { | 31 namespace remoting { |
| 32 | 32 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 std::unique_ptr<AudioDecodeScheduler> audio_decode_scheduler_; | 137 std::unique_ptr<AudioDecodeScheduler> audio_decode_scheduler_; |
| 138 | 138 |
| 139 std::string local_capabilities_; | 139 std::string local_capabilities_; |
| 140 | 140 |
| 141 // The set of all capabilities supported by the host. | 141 // The set of all capabilities supported by the host. |
| 142 std::string host_capabilities_; | 142 std::string host_capabilities_; |
| 143 | 143 |
| 144 // True if |protocol::Capabilities| message has been received. | 144 // True if |protocol::Capabilities| message has been received. |
| 145 bool host_capabilities_received_ = false; | 145 bool host_capabilities_received_ = false; |
| 146 | 146 |
| 147 // Record the statistics of the connection. | |
| 148 protocol::PerformanceTracker perf_tracker_; | |
| 149 | |
| 150 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 147 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); |
| 151 }; | 148 }; |
| 152 | 149 |
| 153 } // namespace remoting | 150 } // namespace remoting |
| 154 | 151 |
| 155 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 152 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
| OLD | NEW |