| Index: ppapi/thunk/ppb_video_capture_api.h
|
| diff --git a/ppapi/thunk/ppb_video_capture_api.h b/ppapi/thunk/ppb_video_capture_api.h
|
| index 117b49566a8a77198b88625c13ef8ae8a5feff47..a12e2019dd28e35a8fc94b6e60900c9fdc233999 100644
|
| --- a/ppapi/thunk/ppb_video_capture_api.h
|
| +++ b/ppapi/thunk/ppb_video_capture_api.h
|
| @@ -10,6 +10,8 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "ppapi/c/dev/ppb_video_capture_dev.h"
|
| +#include "ppapi/c/pp_array_output.h"
|
| +#include "ppapi/c/pp_resource.h"
|
|
|
| namespace ppapi {
|
|
|
| @@ -33,14 +35,9 @@ class PPB_VideoCapture_API {
|
| virtual int32_t StopCapture() = 0;
|
| virtual void Close() = 0;
|
|
|
| - // For backward compatibility.
|
| - virtual int32_t StartCapture0_1(
|
| - const PP_VideoCaptureDeviceInfo_Dev& requested_info,
|
| - uint32_t buffer_count) = 0;
|
| -
|
| - // This function is not exposed through the C API, but returns the internal
|
| - // data for easy proxying.
|
| - virtual const std::vector<DeviceRefData>& GetDeviceRefData() const = 0;
|
| + // This function is not exposed through the C API. It is only used by flash
|
| + // to make synchronous device enumeration.
|
| + virtual int32_t EnumerateDevicesSync(const PP_ArrayOutput& devices) = 0;
|
| };
|
|
|
| } // namespace thunk
|
|
|