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

Unified Diff: content/common/media/video_capture_messages.h

Issue 2407623002: VideoCapture: migrate last Renderer-->Host msg and start Host-->Renderer migration (Closed)
Patch Set: chfremer@ comments 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 | « content/common/BUILD.gn ('k') | content/common/video_capture.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/video_capture_messages.h
diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h
index 01ce39b56c7e7819c43698f3f3bdc75a425ac5e3..bc46b9ab5cc1cb80f6c89b02cae459694aaa7165 100644
--- a/content/common/media/video_capture_messages.h
+++ b/content/common/media/video_capture_messages.h
@@ -9,14 +9,11 @@
#include "ipc/ipc_message_macros.h"
#include "media/base/video_capture_types.h"
#include "media/base/video_frame.h"
-#include "ui/gfx/gpu_memory_buffer.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START VideoCaptureMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(content::VideoCaptureState,
- content::VIDEO_CAPTURE_STATE_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(media::VideoFrame::StorageType,
media::VideoFrame::STORAGE_LAST)
@@ -34,12 +31,6 @@ IPC_STRUCT_END()
// TODO(nick): device_id in these messages is basically just a route_id. We
// should shift to IPC_MESSAGE_ROUTED and use MessageRouter in the filter impls.
-// Notify the renderer process about the state update such as
-// Start/Pause/Stop.
-IPC_MESSAGE_CONTROL2(VideoCaptureMsg_StateChanged,
- int /* device id */,
- content::VideoCaptureState /* new state */)
-
// Tell the renderer process that a new buffer is allocated for video capture.
IPC_MESSAGE_CONTROL4(VideoCaptureMsg_NewBuffer,
int /* device id */,
@@ -57,11 +48,3 @@ IPC_MESSAGE_CONTROL2(VideoCaptureMsg_FreeBuffer,
// send the associated VideoFrame constituent parts as IPC parameters.
IPC_MESSAGE_CONTROL1(VideoCaptureMsg_BufferReady,
VideoCaptureMsg_BufferReady_Params)
-
-// Tell the browser process that the renderer has finished reading from
-// a buffer previously delivered by VideoCaptureMsg_BufferReady.
-IPC_MESSAGE_CONTROL4(VideoCaptureHostMsg_BufferReady,
- int /* device_id */,
- int /* buffer_id */,
- gpu::SyncToken /* sync_token */,
- double /* consumer_resource_utilization */)
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/video_capture.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698