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

Unified Diff: remoting/host/ipc_video_frame_capturer.cc

Issue 2483483004: [Chromoting] Implement new APIs in DesktopCapturer (Closed)
Patch Set: 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
Index: remoting/host/ipc_video_frame_capturer.cc
diff --git a/remoting/host/ipc_video_frame_capturer.cc b/remoting/host/ipc_video_frame_capturer.cc
index 9d061ddac1719abda205640c4f14ccb4f10aef7a..93c1f883b854748e63e0385fbdec455998abc9ce 100644
--- a/remoting/host/ipc_video_frame_capturer.cc
+++ b/remoting/host/ipc_video_frame_capturer.cc
@@ -41,4 +41,12 @@ void IpcVideoFrameCapturer::OnCaptureResult(
callback_->OnCaptureResult(result, std::move(frame));
}
+bool IpcVideoFrameCapturer::GetSourceList(SourceList* sources) {
+ return desktop_session_proxy_->GetSourceList(sources);
Sergey Ulanov 2016/11/05 00:16:26 Problem here is that the API is synchronous, but a
Hzj_jie 2016/11/06 04:27:24 Yes, that's the reason I put the TODO in DesktopSe
+}
+
+bool IpcVideoFrameCapturer::SelectSource(SourceId id) {
+ return desktop_session_proxy_->SelectSource(id);
+}
+
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698