| 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 #include "remoting/client/chromoting_client.h" | 5 #include "remoting/client/chromoting_client.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "remoting/base/capabilities.h" | 9 #include "remoting/base/capabilities.h" |
| 10 #include "remoting/client/audio_decode_scheduler.h" | 10 #include "remoting/client/audio_decode_scheduler.h" |
| 11 #include "remoting/client/audio_player.h" | 11 #include "remoting/client/audio_player.h" |
| 12 #include "remoting/client/client_context.h" | 12 #include "remoting/client/client_context.h" |
| 13 #include "remoting/client/client_user_interface.h" | 13 #include "remoting/client/client_user_interface.h" |
| 14 #include "remoting/protocol/authenticator.h" | 14 #include "remoting/protocol/authenticator.h" |
| 15 #include "remoting/protocol/connection_to_host.h" | 15 #include "remoting/protocol/connection_to_host.h" |
| 16 #include "remoting/protocol/host_stub.h" | 16 #include "remoting/protocol/host_stub.h" |
| 17 #include "remoting/protocol/ice_connection_to_host.h" | 17 #include "remoting/protocol/ice_connection_to_host.h" |
| 18 #include "remoting/protocol/jingle_session_manager.h" | 18 #include "remoting/protocol/jingle_session_manager.h" |
| 19 #include "remoting/protocol/negotiating_client_authenticator.h" |
| 19 #include "remoting/protocol/session_config.h" | 20 #include "remoting/protocol/session_config.h" |
| 20 #include "remoting/protocol/transport_context.h" | 21 #include "remoting/protocol/transport_context.h" |
| 21 #include "remoting/protocol/video_renderer.h" | 22 #include "remoting/protocol/video_renderer.h" |
| 22 #include "remoting/protocol/webrtc_connection_to_host.h" | 23 #include "remoting/protocol/webrtc_connection_to_host.h" |
| 23 | 24 |
| 24 namespace remoting { | 25 namespace remoting { |
| 25 | 26 |
| 26 ChromotingClient::ChromotingClient(ClientContext* client_context, | 27 ChromotingClient::ChromotingClient(ClientContext* client_context, |
| 27 ClientUserInterface* user_interface, | 28 ClientUserInterface* user_interface, |
| 28 protocol::VideoRenderer* video_renderer, | 29 protocol::VideoRenderer* video_renderer, |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 | 234 |
| 234 // Negotiate capabilities with the host. | 235 // Negotiate capabilities with the host. |
| 235 VLOG(1) << "Client capabilities: " << local_capabilities_; | 236 VLOG(1) << "Client capabilities: " << local_capabilities_; |
| 236 | 237 |
| 237 protocol::Capabilities capabilities; | 238 protocol::Capabilities capabilities; |
| 238 capabilities.set_capabilities(local_capabilities_); | 239 capabilities.set_capabilities(local_capabilities_); |
| 239 connection_->host_stub()->SetCapabilities(capabilities); | 240 connection_->host_stub()->SetCapabilities(capabilities); |
| 240 } | 241 } |
| 241 | 242 |
| 242 } // namespace remoting | 243 } // namespace remoting |
| OLD | NEW |