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

Unified Diff: remoting/host/ipc_video_frame_capturer.h

Issue 2050353002: Update webrtc::DesktopCapturer clients to implement OnCaptureResult(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 6 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
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 c93e2ba3a79923534d9ea432bd28e64c561ad95f..c96970cac400c2202bae7918cea3d18907dcea05 100644
--- a/remoting/host/ipc_video_frame_capturer.h
+++ b/remoting/host/ipc_video_frame_capturer.h
@@ -29,7 +29,8 @@ class IpcVideoFrameCapturer : public webrtc::DesktopCapturer {
void Capture(const webrtc::DesktopRegion& region) override;
// Called when a video |frame| has been captured.
- void OnCaptureCompleted(std::unique_ptr<webrtc::DesktopFrame> frame);
+ void OnCaptureResult(webrtc::DesktopCapturer::Result result,
+ std::unique_ptr<webrtc::DesktopFrame> frame);
private:
// Points to the callback passed to webrtc::DesktopCapturer::Start().

Powered by Google App Engine
This is Rietveld 408576698