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

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

Issue 455073004: Switch DesktopEnvironment to return a DesktopCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ShapedDesktopCapturer::Create() Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/host_extension_session.h ('k') | remoting/host/host_extension_session_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « remoting/host/host_extension_session.h ('k') | remoting/host/host_extension_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698