| Index: ppapi/proxy/ppb_instance_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
|
| index 5f0c163306a624c15b495279a352d5f0dbb66d92..ae7707d9c7339072b3d378640cefc62ecfc8e0ab 100644
|
| --- a/ppapi/proxy/ppb_instance_proxy.cc
|
| +++ b/ppapi/proxy/ppb_instance_proxy.cc
|
| @@ -165,6 +165,10 @@ bool PPB_Instance_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| OnHostMsgKeyError)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverBlock,
|
| OnHostMsgDeliverBlock)
|
| + IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DecoderDeinitializeDone,
|
| + OnHostMsgDecoderDeinitializeDone)
|
| + IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DecoderResetDone,
|
| + OnHostMsgDecoderResetDone)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverFrame,
|
| OnHostMsgDeliverFrame)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverSamples,
|
| @@ -508,6 +512,28 @@ void PPB_Instance_Proxy::DeliverBlock(PP_Instance instance,
|
| serialized_block_info));
|
| }
|
|
|
| +void PPB_Instance_Proxy::DecoderDeinitializeDone(PP_Instance instance,
|
| + PP_StreamType decoder_type,
|
| + uint32_t request_id) {
|
| + dispatcher()->Send(
|
| + new PpapiHostMsg_PPBInstance_DecoderDeinitializeDone(
|
| + API_ID_PPB_INSTANCE,
|
| + instance,
|
| + decoder_type,
|
| + request_id));
|
| +}
|
| +
|
| +void PPB_Instance_Proxy::DecoderResetDone(PP_Instance instance,
|
| + PP_StreamType decoder_type,
|
| + uint32_t request_id) {
|
| + dispatcher()->Send(
|
| + new PpapiHostMsg_PPBInstance_DecoderResetDone(
|
| + API_ID_PPB_INSTANCE,
|
| + instance,
|
| + decoder_type,
|
| + request_id));
|
| +}
|
| +
|
| void PPB_Instance_Proxy::DeliverFrame(PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
| const PP_DecryptedFrameInfo* frame_info) {
|
| @@ -928,6 +954,25 @@ void PPB_Instance_Proxy::OnHostMsgDeliverBlock(
|
| enter.functions()->DeliverBlock(instance, decrypted_block, &block_info);
|
| }
|
|
|
| +void PPB_Instance_Proxy::OnHostMsgDecoderDeinitializeDone(
|
| + PP_Instance instance,
|
| + PP_StreamType decoder_type,
|
| + uint32_t request_id) {
|
| + EnterInstanceNoLock enter(instance);
|
| + if (enter.succeeded())
|
| + enter.functions()->DecoderDeinitializeDone(instance,
|
| + decoder_type,
|
| + request_id);
|
| +}
|
| +
|
| +void PPB_Instance_Proxy::OnHostMsgDecoderResetDone(PP_Instance instance,
|
| + PP_StreamType decoder_type,
|
| + uint32_t request_id) {
|
| + EnterInstanceNoLock enter(instance);
|
| + if (enter.succeeded())
|
| + enter.functions()->DecoderResetDone(instance, decoder_type, request_id);
|
| +}
|
| +
|
| void PPB_Instance_Proxy::OnHostMsgDeliverFrame(
|
| PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
|
|