diff options
Diffstat (limited to 'remoting/host/desktop_environment.h')
-rw-r--r-- | remoting/host/desktop_environment.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h index 06b0b373..f91fb85 100644 --- a/remoting/host/desktop_environment.h +++ b/remoting/host/desktop_environment.h @@ -16,11 +16,14 @@ namespace base { class SingleThreadTaskRunner; } // namespace base +namespace media { +class ScreenCapturer; +} // namespace media + namespace remoting { class AudioCapturer; class EventExecutor; -class VideoFrameCapturer; // Provides factory methods for creation of audio/video capturers and event // executor for a given desktop environment. @@ -35,7 +38,7 @@ class DesktopEnvironment { virtual scoped_ptr<EventExecutor> CreateEventExecutor( scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) = 0; - virtual scoped_ptr<VideoFrameCapturer> CreateVideoCapturer( + virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer( scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) = 0; }; |