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

Unified Diff: remoting/host/desktop_session_proxy.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_session_proxy.h ('k') | remoting/host/fake_desktop_capturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_proxy.cc
diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc
index 5094a7754b866ba2ef55d3993663a8417e2076f9..4cda02a53e9789d31ddd105996e70915e89982ce 100644
--- a/remoting/host/desktop_session_proxy.cc
+++ b/remoting/host/desktop_session_proxy.cc
@@ -139,10 +139,10 @@ scoped_ptr<ScreenControls> DesktopSessionProxy::CreateScreenControls() {
return scoped_ptr<ScreenControls>(new IpcScreenControls(this));
}
-scoped_ptr<webrtc::ScreenCapturer> DesktopSessionProxy::CreateVideoCapturer() {
+scoped_ptr<webrtc::DesktopCapturer> DesktopSessionProxy::CreateVideoCapturer() {
DCHECK(caller_task_runner_->BelongsToCurrentThread());
- return scoped_ptr<webrtc::ScreenCapturer>(new IpcVideoFrameCapturer(this));
+ return scoped_ptr<webrtc::DesktopCapturer>(new IpcVideoFrameCapturer(this));
}
scoped_ptr<webrtc::MouseCursorMonitor>
« no previous file with comments | « remoting/host/desktop_session_proxy.h ('k') | remoting/host/fake_desktop_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698