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

Unified Diff: media/capture/content/thread_safe_capture_oracle.h

Issue 2613793007: Revert of [Mojo Video Capture] Simplify media::VideoCaptureDevice::Client:Buffer to a struct (Closed)
Patch Set: Created 3 years, 11 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: media/capture/content/thread_safe_capture_oracle.h
diff --git a/media/capture/content/thread_safe_capture_oracle.h b/media/capture/content/thread_safe_capture_oracle.h
index 7b970c359d579332b472008253f3a0ceb7f29258..e35c0b4e271ce57e2c94b6985392ab445bb6f0ca 100644
--- a/media/capture/content/thread_safe_capture_oracle.h
+++ b/media/capture/content/thread_safe_capture_oracle.h
@@ -98,13 +98,14 @@
virtual ~ThreadSafeCaptureOracle();
// Callback invoked on completion of all captures.
- void DidCaptureFrame(int frame_number,
- VideoCaptureDevice::Client::Buffer buffer,
- base::TimeTicks capture_begin_time,
- base::TimeDelta estimated_frame_duration,
- scoped_refptr<VideoFrame> frame,
- base::TimeTicks reference_time,
- bool success);
+ void DidCaptureFrame(
+ int frame_number,
+ std::unique_ptr<VideoCaptureDevice::Client::Buffer> buffer,
+ base::TimeTicks capture_begin_time,
+ base::TimeDelta estimated_frame_duration,
+ scoped_refptr<VideoFrame> frame,
+ base::TimeTicks reference_time,
+ bool success);
// Callback invoked once all consumers have finished with a delivered video
// frame. Consumer feedback signals are scanned from the frame's |metadata|.

Powered by Google App Engine
This is Rietveld 408576698