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/basic_desktop_environment.h" | 5 #include "remoting/host/basic_desktop_environment.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "remoting/host/audio_capturer.h" | 12 #include "remoting/host/audio_capturer.h" |
13 #include "remoting/host/client_session_control.h" | 13 #include "remoting/host/client_session_control.h" |
14 #include "remoting/host/desktop_capturer_proxy.h" | 14 #include "remoting/host/desktop_capturer_proxy.h" |
15 #include "remoting/host/input_injector.h" | 15 #include "remoting/host/input_injector.h" |
16 #include "remoting/host/mouse_cursor_monitor_proxy.h" | 16 #include "remoting/host/mouse_cursor_monitor_proxy.h" |
17 #include "remoting/host/screen_controls.h" | 17 #include "remoting/host/screen_controls.h" |
18 #include "remoting/protocol/capability_names.h" | 18 #include "remoting/protocol/capability_names.h" |
19 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" | 19 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" |
| 20 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
20 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 21 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
21 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" | |
22 | 22 |
23 #if defined(USE_X11) | 23 #if defined(USE_X11) |
24 #include "remoting/host/linux/x11_util.h" | 24 #include "remoting/host/linux/x11_util.h" |
25 #endif | 25 #endif |
26 | 26 |
27 namespace remoting { | 27 namespace remoting { |
28 | 28 |
29 BasicDesktopEnvironment::~BasicDesktopEnvironment() { | 29 BasicDesktopEnvironment::~BasicDesktopEnvironment() { |
30 DCHECK(caller_task_runner_->BelongsToCurrentThread()); | 30 DCHECK(caller_task_runner_->BelongsToCurrentThread()); |
31 } | 31 } |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 BasicDesktopEnvironmentFactory::~BasicDesktopEnvironmentFactory() {} | 107 BasicDesktopEnvironmentFactory::~BasicDesktopEnvironmentFactory() {} |
108 | 108 |
109 bool BasicDesktopEnvironmentFactory::SupportsAudioCapture() const { | 109 bool BasicDesktopEnvironmentFactory::SupportsAudioCapture() const { |
110 DCHECK(caller_task_runner_->BelongsToCurrentThread()); | 110 DCHECK(caller_task_runner_->BelongsToCurrentThread()); |
111 | 111 |
112 return AudioCapturer::IsSupported(); | 112 return AudioCapturer::IsSupported(); |
113 } | 113 } |
114 | 114 |
115 } // namespace remoting | 115 } // namespace remoting |
OLD | NEW |