Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index ef5ee81f9598a637318fcdda624f6e41abfa8012..2a42aaa4ca3cc7342bfd0943bd8d9125dec65a1b 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -457,6 +457,12 @@ IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, |
ppapi::HostResource /* loader */, |
int32_t /* result */) |
+// PPB_VideoCapture_Dev |
+IPC_MESSAGE_ROUTED3(PpapiMsg_PPBVideoCapture_EnumerateDevicesACK, |
+ ppapi::HostResource /* video_capture */, |
+ int32_t /* result */, |
+ std::vector<ppapi::DeviceRefData> /* devices */) |
+ |
// PPP_VideoCapture_Dev |
IPC_MESSAGE_ROUTED3( |
PpapiMsg_PPPVideoCapture_OnDeviceInfo, |
@@ -1103,8 +1109,11 @@ IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBVideoCapture_Create, |
PP_Instance /* instance */, |
ppapi::HostResource /* result */) |
-IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBVideoCapture_StartCapture, |
+IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_EnumerateDevices, |
+ ppapi::HostResource /* video_capture */) |
+IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoCapture_StartCapture, |
ppapi::HostResource /* video_capture */, |
+ std::string /* device_id */, |
PP_VideoCaptureDeviceInfo_Dev /* requested_info */, |
uint32_t /* buffer_count */) |
IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer, |