summaryrefslogtreecommitdiffstats
path: root/content/common/media
diff options
context:
space:
mode:
authorwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 03:40:21 +0000
committerwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-22 03:40:21 +0000
commit934fe1949ec85a440f3ca2fe5ffa40f4ad8abfcc (patch)
tree6cb6f89ddd08ea4238e54ea32fa7ac0e93c13230 /content/common/media
parent2f9acefea88a314685423340b0e81ac8c5b63982 (diff)
downloadchromium_src-934fe1949ec85a440f3ca2fe5ffa40f4ad8abfcc.zip
chromium_src-934fe1949ec85a440f3ca2fe5ffa40f4ad8abfcc.tar.gz
chromium_src-934fe1949ec85a440f3ca2fe5ffa40f4ad8abfcc.tar.bz2
use control message instead of routed for video capture
BUG=none TEST=try bots Review URL: http://codereview.chromium.org/7222024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/media')
-rw-r--r--content/common/media/video_capture_messages.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h
index 7b5b8d9..1458718 100644
--- a/content/common/media/video_capture_messages.h
+++ b/content/common/media/video_capture_messages.h
@@ -19,43 +19,43 @@ IPC_STRUCT_TRAITS_END()
// 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 */)