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

Unified Diff: remoting/host/cast_video_capturer_adapter.h

Issue 399253002: CastExtension Impl for Chromoting Host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final Fixes 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/cast_extension_session.cc ('k') | remoting/host/cast_video_capturer_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/cast_video_capturer_adapter.h
diff --git a/remoting/host/cast_video_capturer_adapter.h b/remoting/host/cast_video_capturer_adapter.h
index 2a549400d8e21d6024da738f8b600804c433c4d9..3168859dd45c59caa1106b96711c4f0087c7e5ad 100644
--- a/remoting/host/cast_video_capturer_adapter.h
+++ b/remoting/host/cast_video_capturer_adapter.h
@@ -25,7 +25,7 @@ namespace remoting {
// This class controls the capture of video frames from the desktop and is used
// to construct a VideoSource as part of the webrtc PeerConnection API.
-// CastVideoCapturerAdapter acts as an adapter between webrtc::ScreenCapturer
+// CastVideoCapturerAdapter acts as an adapter between webrtc::DesktopCapturer
// and the cricket::VideoCapturer interface, which it implements. It is used
// to construct a cricket::VideoSource for a PeerConnection, to capture frames
// of the desktop. As indicated in the base implementation, Start() and Stop()
@@ -34,7 +34,7 @@ class CastVideoCapturerAdapter : public cricket::VideoCapturer,
public webrtc::DesktopCapturer::Callback {
public:
explicit CastVideoCapturerAdapter(
- scoped_ptr<webrtc::ScreenCapturer> capturer);
+ scoped_ptr<webrtc::DesktopCapturer> capturer);
virtual ~CastVideoCapturerAdapter();
@@ -56,7 +56,7 @@ class CastVideoCapturerAdapter : public cricket::VideoCapturer,
virtual bool GetPreferredFourccs(std::vector<uint32>* fourccs) OVERRIDE;
private:
- // Kicks off the next frame capture using |screen_capturer_|.
+ // Kicks off the next frame capture using |desktop_capturer_|.
// The captured frame will be passed to OnCaptureCompleted().
void CaptureNextFrame();
@@ -64,7 +64,7 @@ class CastVideoCapturerAdapter : public cricket::VideoCapturer,
base::ThreadChecker thread_checker_;
// Used to capture frames.
- scoped_ptr<webrtc::ScreenCapturer> screen_capturer_;
+ scoped_ptr<webrtc::DesktopCapturer> desktop_capturer_;
// Used to schedule periodic screen captures.
scoped_ptr<base::RepeatingTimer<CastVideoCapturerAdapter> > capture_timer_;
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/host/cast_video_capturer_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698