OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/host_extension_session.h" | 5 #include "remoting/host/host_extension_session.h" |
6 | 6 |
7 #include "remoting/codec/video_encoder.h" | 7 #include "remoting/codec/video_encoder.h" |
8 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" | 8 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
11 | 11 |
12 scoped_ptr<webrtc::ScreenCapturer> HostExtensionSession::OnCreateVideoCapturer( | 12 scoped_ptr<webrtc::DesktopCapturer> HostExtensionSession::OnCreateVideoCapturer( |
13 scoped_ptr<webrtc::ScreenCapturer> capturer) { | 13 scoped_ptr<webrtc::DesktopCapturer> capturer) { |
14 return capturer.Pass(); | 14 return capturer.Pass(); |
15 } | 15 } |
16 | 16 |
17 scoped_ptr<VideoEncoder> HostExtensionSession::OnCreateVideoEncoder( | 17 scoped_ptr<VideoEncoder> HostExtensionSession::OnCreateVideoEncoder( |
18 scoped_ptr<VideoEncoder> encoder) { | 18 scoped_ptr<VideoEncoder> encoder) { |
19 return encoder.Pass(); | 19 return encoder.Pass(); |
20 } | 20 } |
21 | 21 |
22 bool HostExtensionSession::ModifiesVideoPipeline() const { | 22 bool HostExtensionSession::ModifiesVideoPipeline() const { |
23 return false; | 23 return false; |
24 } | 24 } |
25 | 25 |
26 } // namespace remoting | 26 } // namespace remoting |
OLD | NEW |