Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: remoting/host/basic_desktop_environment.cc

Issue 2495453002: [Chromoting] Remove screen_capturer.h & desktop_capturer.h (Closed)
Patch Set: Include ipc_desktop_environment_unittest.cc Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/host/chromeos/aura_desktop_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698