| 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/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 10 #include "build/build_config.h" |
| 10 #include "remoting/host/audio_capturer.h" | 11 #include "remoting/host/audio_capturer.h" |
| 11 #include "remoting/host/client_session_control.h" | 12 #include "remoting/host/client_session_control.h" |
| 12 #include "remoting/host/gnubby_auth_handler.h" | 13 #include "remoting/host/gnubby_auth_handler.h" |
| 13 #include "remoting/host/input_injector.h" | 14 #include "remoting/host/input_injector.h" |
| 14 #include "remoting/host/screen_controls.h" | 15 #include "remoting/host/screen_controls.h" |
| 15 #include "remoting/protocol/capability_names.h" | 16 #include "remoting/protocol/capability_names.h" |
| 16 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" | 17 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" |
| 17 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 18 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| 18 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" | 19 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" |
| 19 | 20 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 BasicDesktopEnvironmentFactory::~BasicDesktopEnvironmentFactory() { | 120 BasicDesktopEnvironmentFactory::~BasicDesktopEnvironmentFactory() { |
| 120 } | 121 } |
| 121 | 122 |
| 122 bool BasicDesktopEnvironmentFactory::SupportsAudioCapture() const { | 123 bool BasicDesktopEnvironmentFactory::SupportsAudioCapture() const { |
| 123 DCHECK(caller_task_runner_->BelongsToCurrentThread()); | 124 DCHECK(caller_task_runner_->BelongsToCurrentThread()); |
| 124 | 125 |
| 125 return AudioCapturer::IsSupported(); | 126 return AudioCapturer::IsSupported(); |
| 126 } | 127 } |
| 127 | 128 |
| 128 } // namespace remoting | 129 } // namespace remoting |
| OLD | NEW |