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

Unified Diff: media/capture/video/video_capture_buffer_tracker.h

Issue 2573223002: [Mojo Video Capture] Simplify media::VideoCaptureDevice::Client:Buffer to a struct (Closed)
Patch Set: miu's comments Created 4 years 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/video/video_capture_buffer_tracker.h
diff --git a/media/capture/video/video_capture_buffer_tracker.h b/media/capture/video/video_capture_buffer_tracker.h
index 3e3d7bf888a2ff37aacdd53963c80476ea1f3c98..b63ab4c5a975bf351afb16a01c1f5778b92b1ba6 100644
--- a/media/capture/video/video_capture_buffer_tracker.h
+++ b/media/capture/video/video_capture_buffer_tracker.h
@@ -50,9 +50,7 @@ class CAPTURE_EXPORT VideoCaptureBufferTracker {
void set_frame_feedback_id(int value) { frame_feedback_id_ = value; }
int frame_feedback_id() { return frame_feedback_id_; }
- // Returns a scoped handle to the underlying storage.
- virtual std::unique_ptr<VideoCaptureBufferHandle> GetBufferHandle() = 0;
-
+ virtual std::unique_ptr<VideoCaptureBufferHandle> GetReadWriteAccess() = 0;
virtual mojo::ScopedSharedBufferHandle GetHandleForTransit() = 0;
private:

Powered by Google App Engine
This is Rietveld 408576698