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

Unified Diff: services/video_capture/mojo_shared_memory_buffer_tracker.h

Issue 2410383002: VideoCapture: more migration IPC-->mojo, part 6 (Closed)
Patch Set: Comment correction Created 4 years, 2 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: services/video_capture/mojo_shared_memory_buffer_tracker.h
diff --git a/services/video_capture/mojo_shared_memory_buffer_tracker.h b/services/video_capture/mojo_shared_memory_buffer_tracker.h
index 21dc83941e53a625d46b6fdbd25fd54aaaadc9ef..1a96e2b8996be708200174636149d178b725e07a 100644
--- a/services/video_capture/mojo_shared_memory_buffer_tracker.h
+++ b/services/video_capture/mojo_shared_memory_buffer_tracker.h
@@ -23,8 +23,7 @@ class MojoSharedMemoryBufferTracker final
media::VideoPixelStorage storage_type,
base::Lock* lock) override;
std::unique_ptr<media::VideoCaptureBufferHandle> GetBufferHandle() override;
- bool ShareToProcess(base::ProcessHandle process_handle,
- base::SharedMemoryHandle* new_handle) override;
+ mojo::ScopedSharedBufferHandle GetHandleForTransit() override;
private:
friend class MojoSharedMemoryBufferHandle;

Powered by Google App Engine
This is Rietveld 408576698