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/win/session_desktop_environment_factory.h" | 5 #include "remoting/host/win/session_desktop_environment_factory.h" |
6 | 6 |
| 7 #include "base/single_thread_task_runner.h" |
7 #include "remoting/host/audio_capturer.h" | 8 #include "remoting/host/audio_capturer.h" |
8 #include "remoting/host/chromoting_host_context.h" | 9 #include "remoting/host/chromoting_host_context.h" |
9 #include "remoting/host/client_session.h" | 10 #include "remoting/host/client_session.h" |
10 #include "remoting/host/desktop_environment.h" | 11 #include "remoting/host/desktop_environment.h" |
11 #include "remoting/host/event_executor.h" | 12 #include "remoting/host/event_executor.h" |
12 #include "remoting/host/video_frame_capturer.h" | 13 #include "remoting/host/video_frame_capturer.h" |
13 #include "remoting/host/win/session_event_executor.h" | 14 #include "remoting/host/win/session_event_executor.h" |
14 | 15 |
15 namespace remoting { | 16 namespace remoting { |
16 | 17 |
(...skipping 16 matching lines...) Expand all Loading... |
33 event_executor.reset(new SessionEventExecutorWin( | 34 event_executor.reset(new SessionEventExecutorWin( |
34 input_task_runner_, event_executor.Pass(), ui_task_runner_, inject_sas_)); | 35 input_task_runner_, event_executor.Pass(), ui_task_runner_, inject_sas_)); |
35 scoped_ptr<VideoFrameCapturer> video_capturer(VideoFrameCapturer::Create()); | 36 scoped_ptr<VideoFrameCapturer> video_capturer(VideoFrameCapturer::Create()); |
36 return scoped_ptr<DesktopEnvironment>(new DesktopEnvironment( | 37 return scoped_ptr<DesktopEnvironment>(new DesktopEnvironment( |
37 audio_capturer.Pass(), | 38 audio_capturer.Pass(), |
38 event_executor.Pass(), | 39 event_executor.Pass(), |
39 video_capturer.Pass())); | 40 video_capturer.Pass())); |
40 } | 41 } |
41 | 42 |
42 } // namespace remoting | 43 } // namespace remoting |
OLD | NEW |