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

Unified Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 2409893003: VideoCapture: more migration IPC-->mojo, part 5 (Closed)
Patch Set: rebase content/common/BUILD.gn 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_host.h
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index 06d6a6bb7d418f128cb094bea61f2ada9b0ef6ba..5bb36f361d5792a058152476fa04c56fd11c73ba 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -19,27 +19,27 @@
// | < VideoCaptureMsg_NewBuffer(2) |
// | < VideoCaptureMsg_NewBuffer(3) |
// | |
-// | < VideoCaptureMsg_BufferReady(1) |
-// | < VideoCaptureMsg_BufferReady(2) |
+// | <-------- OnBufferReady(1) --------- |
+// | <-------- OnBufferReady(2) --------- |
// | -------- ReleaseBuffer(1) ---------> |
-// | < VideoCaptureMsg_BufferReady(3) |
+// | <-------- OnBufferReady(3) --------- |
// | -------- ReleaseBuffer(2) ---------> |
-// | < VideoCaptureMsg_BufferReady(1) |
+// | <-------- OnBufferReady(1) --------- |
// | -------- ReleaseBuffer(3) ---------> |
-// | < VideoCaptureMsg_BufferReady(2) |
+// | <-------- OnBufferReady(2) --------- |
// | -------- ReleaseBuffer(1) ---------> |
// | ... |
-// | < VideoCaptureMsg_BufferReady(3) |
-// | |
+// | <-------- OnBufferReady(3) --------- |
+// = =
// | ... (resolution change) |
-// | < VideoCaptureMsg_FreeBuffer(1) | Buffers are re-allocated
+// | <------ OnBufferDestroyed(3) ------- | Buffers are re-allocated
// | < VideoCaptureMsg_NewBuffer(4) | with a larger size, as
-// | < VideoCaptureMsg_BufferReady(4) | needed.
+// | <-------- OnBufferReady(4) --------- | needed.
// | -------- ReleaseBuffer(2) ---------> |
-// | < VideoCaptureMsg_FreeBuffer(2) |
+// | <------ OnBufferDestroyed(2) ------- |
// | < VideoCaptureMsg_NewBuffer(5) |
-// | < VideoCaptureMsg_BufferReady(5) |
-// | ... |
+// | <-------- OnBufferReady(5) --------- |
+// = ... =
// | |
// | < VideoCaptureMsg_BufferReady |
// | --------- StopCapture ---------> |
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698