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

Unified Diff: remoting/host/ipc_video_frame_capturer.h

Issue 2483483004: [Chromoting] Implement new APIs in DesktopCapturer (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month 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_capturer_proxy.cc ('k') | remoting/host/ipc_video_frame_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_video_frame_capturer.h
diff --git a/remoting/host/ipc_video_frame_capturer.h b/remoting/host/ipc_video_frame_capturer.h
index 2f217050dfbf9542654700f6d90f1dd655d09510..8677239b80571601004665dc35cbed0b18b58f4b 100644
--- a/remoting/host/ipc_video_frame_capturer.h
+++ b/remoting/host/ipc_video_frame_capturer.h
@@ -18,6 +18,8 @@ class DesktopSessionProxy;
// Routes webrtc::DesktopCapturer calls though the IPC channel to the desktop
// session agent running in the desktop integration process.
+// GetSourceList() and SelectSource() functions are not implemented, they always
+// return false.
class IpcVideoFrameCapturer : public webrtc::DesktopCapturer {
public:
explicit IpcVideoFrameCapturer(
@@ -27,6 +29,8 @@ class IpcVideoFrameCapturer : public webrtc::DesktopCapturer {
// webrtc::DesktopCapturer interface.
void Start(Callback* callback) override;
void CaptureFrame() override;
+ bool GetSourceList(SourceList* sources) override;
+ bool SelectSource(SourceId id) override;
// Called when a video |frame| has been captured.
void OnCaptureResult(webrtc::DesktopCapturer::Result result,
« no previous file with comments | « remoting/host/desktop_capturer_proxy.cc ('k') | remoting/host/ipc_video_frame_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698