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

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

Issue 7222024: use control message instead of routed for video capture (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
===================================================================
--- content/common/media/video_capture_messages.h (revision 89543)
+++ content/common/media/video_capture_messages.h (working copy)
@@ -19,43 +19,43 @@
// Notify the renderer process about the state update such as
// Start/Pause/Stop.
-IPC_MESSAGE_ROUTED2(VideoCaptureMsg_StateChanged,
- int /* device id */,
- media::VideoCapture::State /* new state */)
+IPC_MESSAGE_CONTROL2(VideoCaptureMsg_StateChanged,
+ int /* device id */,
+ media::VideoCapture::State /* new state */)
// Tell the renderer process that a new buffer is allocated for video capture.
-IPC_MESSAGE_ROUTED4(VideoCaptureMsg_NewBuffer,
- int /* device id */,
- base::SharedMemoryHandle /* handle */,
- int /* length */,
- int /* buffer_id */)
+IPC_MESSAGE_CONTROL4(VideoCaptureMsg_NewBuffer,
+ int /* device id */,
+ base::SharedMemoryHandle /* handle */,
+ int /* length */,
+ int /* buffer_id */)
// Tell the renderer process that a buffer is available from video capture.
-IPC_MESSAGE_ROUTED3(VideoCaptureMsg_BufferReady,
- int /* device id */,
- int /* buffer_id */,
- base::Time /* timestamp */)
+IPC_MESSAGE_CONTROL3(VideoCaptureMsg_BufferReady,
+ int /* device id */,
+ int /* buffer_id */,
+ base::Time /* timestamp */)
// Tell the renderer process the width, height and frame rate the camera use.
-IPC_MESSAGE_ROUTED2(VideoCaptureMsg_DeviceInfo,
- int /* device_id */,
- media::VideoCaptureParams)
+IPC_MESSAGE_CONTROL2(VideoCaptureMsg_DeviceInfo,
+ int /* device_id */,
+ media::VideoCaptureParams)
// Start the video capture specified by (routing_id, device_id).
-IPC_MESSAGE_ROUTED2(VideoCaptureHostMsg_Start,
- int /* device_id */,
- media::VideoCaptureParams)
+IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_Start,
+ int /* device_id */,
+ media::VideoCaptureParams)
// Pause the video capture specified by (routing_id, device_id).
-IPC_MESSAGE_ROUTED1(VideoCaptureHostMsg_Pause,
- int /* device_id */)
+IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Pause,
+ int /* device_id */)
// Close the video capture specified by (routing_id, device_id).
-IPC_MESSAGE_ROUTED1(VideoCaptureHostMsg_Stop,
- int /* device_id */)
+IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop,
+ int /* device_id */)
// Tell the browser process that the video frame buffer |handle| is ready for
// device (routing_id, device_id) to fill up.
-IPC_MESSAGE_ROUTED2(VideoCaptureHostMsg_BufferReady,
- int /* device_id */,
- int /* buffer_id */)
+IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_BufferReady,
+ int /* device_id */,
+ int /* buffer_id */)
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host_unittest.cc ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698