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