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

Unified Diff: remoting/host/client_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index 59c124fcdded6d7feb71eae80a12f8bc155fcd94..31c3bf145d35707d8486ff753c36fe523ed43830 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -28,7 +28,7 @@
#include "remoting/protocol/client_stub.h"
#include "remoting/protocol/clipboard_thread_proxy.h"
#include "remoting/protocol/pairing_registry.h"
-#include "third_party/webrtc/modules/desktop_capture/screen_capturer.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
// Default DPI to assume for old clients that use notifyClientDimensions.
const int kDefaultDPI = 96;
@@ -453,9 +453,9 @@ void ClientSession::ResetVideoPipeline() {
video_scheduler_ = NULL;
}
- // Create VideoEncoder and ScreenCapturer to match the session's video channel
- // configuration.
- scoped_ptr<webrtc::ScreenCapturer> video_capturer =
+ // Create VideoEncoder and DesktopCapturer to match the session's video
+ // channel configuration.
+ scoped_ptr<webrtc::DesktopCapturer> video_capturer =
extension_manager_->OnCreateVideoCapturer(
desktop_environment_->CreateVideoCapturer());
scoped_ptr<VideoEncoder> video_encoder =
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698