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.h" | 5 #include "remoting/host/win/session_desktop_environment.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "remoting/capturer/video_frame_capturer.h" | 9 #include "media/video/capture/screen/screen_capturer.h" |
10 #include "remoting/host/audio_capturer.h" | 10 #include "remoting/host/audio_capturer.h" |
11 #include "remoting/host/event_executor.h" | 11 #include "remoting/host/event_executor.h" |
12 #include "remoting/host/win/session_event_executor.h" | 12 #include "remoting/host/win/session_event_executor.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 SessionDesktopEnvironment::SessionDesktopEnvironment( | 16 SessionDesktopEnvironment::SessionDesktopEnvironment( |
17 const base::Closure& inject_sas) | 17 const base::Closure& inject_sas) |
18 : inject_sas_(inject_sas){ | 18 : inject_sas_(inject_sas){ |
19 } | 19 } |
(...skipping 22 matching lines...) Expand all Loading... |
42 } | 42 } |
43 | 43 |
44 scoped_ptr<DesktopEnvironment> SessionDesktopEnvironmentFactory::Create( | 44 scoped_ptr<DesktopEnvironment> SessionDesktopEnvironmentFactory::Create( |
45 const std::string& client_jid, | 45 const std::string& client_jid, |
46 const base::Closure& disconnect_callback) { | 46 const base::Closure& disconnect_callback) { |
47 return scoped_ptr<DesktopEnvironment>( | 47 return scoped_ptr<DesktopEnvironment>( |
48 new SessionDesktopEnvironment(inject_sas_)); | 48 new SessionDesktopEnvironment(inject_sas_)); |
49 } | 49 } |
50 | 50 |
51 } // namespace remoting | 51 } // namespace remoting |
OLD | NEW |