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

Unified Diff: content/common/media/video_capture_messages.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: 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 3a148c87df92d3ed60139b3edb99d4974550db64..e0f94168dec833ce5f55d67f6aac593b620bafde 100644
--- a/content/common/media/video_capture_messages.h
+++ b/content/common/media/video_capture_messages.h
@@ -2,21 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/memory/shared_memory.h"
#include "content/common/content_export.h"
-#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START VideoCaptureMsgStart
-// 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.
-
-// Tell the renderer process that a new buffer is allocated for video capture.
-IPC_MESSAGE_CONTROL4(VideoCaptureMsg_NewBuffer,
- int /* device id */,
- base::SharedMemoryHandle /* handle */,
- int /* length */,
- int /* buffer_id */)
+// TODO(mcasas): Remove this message when the Video Capture IPC communication is
+// completely migrated to Mojo, https://crbug.com/651897.
+IPC_MESSAGE_CONTROL0(VideoCaptureMsg_Noop)

Powered by Google App Engine
This is Rietveld 408576698