| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 scoped_ptr<protocol::CandidateSessionConfig> protocol_config_; | 117 scoped_ptr<protocol::CandidateSessionConfig> protocol_config_; |
| 118 | 118 |
| 119 // The following are not owned by this class. | 119 // The following are not owned by this class. |
| 120 ClientUserInterface* user_interface_ = nullptr; | 120 ClientUserInterface* user_interface_ = nullptr; |
| 121 VideoRenderer* video_renderer_ = nullptr; | 121 VideoRenderer* video_renderer_ = nullptr; |
| 122 SignalStrategy* signal_strategy_ = nullptr; | 122 SignalStrategy* signal_strategy_ = nullptr; |
| 123 | 123 |
| 124 std::string host_jid_; | 124 std::string host_jid_; |
| 125 scoped_ptr<protocol::Authenticator> authenticator_; | 125 scoped_ptr<protocol::Authenticator> authenticator_; |
| 126 scoped_refptr<protocol::TransportContext> transport_context_; |
| 126 | 127 |
| 127 scoped_ptr<protocol::SessionManager> session_manager_; | 128 scoped_ptr<protocol::SessionManager> session_manager_; |
| 128 scoped_ptr<protocol::ConnectionToHost> connection_; | 129 scoped_ptr<protocol::ConnectionToHost> connection_; |
| 129 | 130 |
| 130 scoped_ptr<AudioDecodeScheduler> audio_decode_scheduler_; | 131 scoped_ptr<AudioDecodeScheduler> audio_decode_scheduler_; |
| 131 | 132 |
| 132 std::string local_capabilities_; | 133 std::string local_capabilities_; |
| 133 | 134 |
| 134 // The set of all capabilities supported by the host. | 135 // The set of all capabilities supported by the host. |
| 135 std::string host_capabilities_; | 136 std::string host_capabilities_; |
| 136 | 137 |
| 137 // True if |protocol::Capabilities| message has been received. | 138 // True if |protocol::Capabilities| message has been received. |
| 138 bool host_capabilities_received_ = false; | 139 bool host_capabilities_received_ = false; |
| 139 | 140 |
| 140 // Record the statistics of the connection. | 141 // Record the statistics of the connection. |
| 141 protocol::PerformanceTracker perf_tracker_; | 142 protocol::PerformanceTracker perf_tracker_; |
| 142 | 143 |
| 143 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); | 144 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); |
| 144 }; | 145 }; |
| 145 | 146 |
| 146 } // namespace remoting | 147 } // namespace remoting |
| 147 | 148 |
| 148 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ | 149 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
| OLD | NEW |