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/host/client_session.h" | 5 #include "remoting/host/client_session.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
| 10 #include "remoting/capturer/video_frame_capturer.h" |
10 #include "remoting/codec/audio_encoder.h" | 11 #include "remoting/codec/audio_encoder.h" |
11 #include "remoting/codec/audio_encoder_opus.h" | 12 #include "remoting/codec/audio_encoder_opus.h" |
12 #include "remoting/codec/audio_encoder_speex.h" | 13 #include "remoting/codec/audio_encoder_speex.h" |
13 #include "remoting/codec/audio_encoder_verbatim.h" | 14 #include "remoting/codec/audio_encoder_verbatim.h" |
14 #include "remoting/codec/video_encoder.h" | 15 #include "remoting/codec/video_encoder.h" |
15 #include "remoting/codec/video_encoder_verbatim.h" | 16 #include "remoting/codec/video_encoder_verbatim.h" |
16 #include "remoting/codec/video_encoder_vp8.h" | 17 #include "remoting/codec/video_encoder_vp8.h" |
17 #include "remoting/host/audio_scheduler.h" | 18 #include "remoting/host/audio_scheduler.h" |
18 #include "remoting/host/desktop_environment.h" | 19 #include "remoting/host/desktop_environment.h" |
19 #include "remoting/host/desktop_environment_factory.h" | 20 #include "remoting/host/desktop_environment_factory.h" |
20 #include "remoting/host/event_executor.h" | 21 #include "remoting/host/event_executor.h" |
21 #include "remoting/host/video_frame_capturer.h" | |
22 #include "remoting/host/video_scheduler.h" | 22 #include "remoting/host/video_scheduler.h" |
23 #include "remoting/proto/control.pb.h" | 23 #include "remoting/proto/control.pb.h" |
24 #include "remoting/proto/event.pb.h" | 24 #include "remoting/proto/event.pb.h" |
25 #include "remoting/protocol/client_stub.h" | 25 #include "remoting/protocol/client_stub.h" |
26 #include "remoting/protocol/clipboard_thread_proxy.h" | 26 #include "remoting/protocol/clipboard_thread_proxy.h" |
27 | 27 |
28 namespace remoting { | 28 namespace remoting { |
29 | 29 |
30 ClientSession::ClientSession( | 30 ClientSession::ClientSession( |
31 EventHandler* event_handler, | 31 EventHandler* event_handler, |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 NOTIMPLEMENTED(); | 328 NOTIMPLEMENTED(); |
329 return scoped_ptr<AudioEncoder>(NULL); | 329 return scoped_ptr<AudioEncoder>(NULL); |
330 } | 330 } |
331 | 331 |
332 // static | 332 // static |
333 void ClientSessionTraits::Destruct(const ClientSession* client) { | 333 void ClientSessionTraits::Destruct(const ClientSession* client) { |
334 client->network_task_runner_->DeleteSoon(FROM_HERE, client); | 334 client->network_task_runner_->DeleteSoon(FROM_HERE, client); |
335 } | 335 } |
336 | 336 |
337 } // namespace remoting | 337 } // namespace remoting |
OLD | NEW |