int32_t
ppb_flash_enumerate_video_capture_devices(PP_Instance instance, PP_Resource video_capture,
                                          struct PP_ArrayOutput devices)
{
    int32_t ret = ppb_video_capture_enumerate_devices(video_capture, devices,
                                                      PP_MakeCCB(nop_callback, NULL));
    if (ret == PP_OK || ret == PP_OK_COMPLETIONPENDING)
        return PP_OK;

    return ret;
}
TRACE_WRAPPER
int32_t
trace_ppb_video_capture_enumerate_devices(PP_Resource video_capture,
                                          struct PP_ArrayOutput output,
                                          struct PP_CompletionCallback callback)
{
    trace_info("[PPB] {full} %s video_capture=%d, output={.GetDataBuffer=%p, .user_data=%p}, "
               "callback={.func=%p, .user_data=%p, .flags=%u}\n", __func__+6, video_capture,
               output.GetDataBuffer, output.user_data, callback.func, callback.user_data,
               callback.flags);
    return ppb_video_capture_enumerate_devices(video_capture, output, callback);
}