| 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..e050f75f39ad8bb9a789ddcc6568b064717036d0 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_DecoderReset,
|
| + OnHostMsgDecoderReset)
|
| + IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DecoderStopped,
|
| + OnHostMsgDecoderStopped)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverFrame,
|
| OnHostMsgDeliverFrame)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverSamples,
|
| @@ -508,6 +512,24 @@ void PPB_Instance_Proxy::DeliverBlock(PP_Instance instance,
|
| serialized_block_info));
|
| }
|
|
|
| +void PPB_Instance_Proxy::DecoderReset(PP_Instance instance,
|
| + uint32_t request_id) {
|
| + dispatcher()->Send(
|
| + new PpapiHostMsg_PPBInstance_DecoderReset(
|
| + API_ID_PPB_INSTANCE,
|
| + instance,
|
| + request_id));
|
| +}
|
| +
|
| +void PPB_Instance_Proxy::DecoderStopped(PP_Instance instance,
|
| + uint32_t request_id) {
|
| + dispatcher()->Send(
|
| + new PpapiHostMsg_PPBInstance_DecoderStopped(
|
| + API_ID_PPB_INSTANCE,
|
| + instance,
|
| + request_id));
|
| +}
|
| +
|
| void PPB_Instance_Proxy::DeliverFrame(PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
| const PP_DecryptedFrameInfo* frame_info) {
|
| @@ -928,6 +950,20 @@ void PPB_Instance_Proxy::OnHostMsgDeliverBlock(
|
| enter.functions()->DeliverBlock(instance, decrypted_block, &block_info);
|
| }
|
|
|
| +void PPB_Instance_Proxy::OnHostMsgDecoderReset(PP_Instance instance,
|
| + uint32_t request_id) {
|
| + EnterInstanceNoLock enter(instance);
|
| + if (enter.succeeded())
|
| + enter.functions()->DecoderReset(instance, request_id);
|
| +}
|
| +
|
| +void PPB_Instance_Proxy::OnHostMsgDecoderStopped(PP_Instance instance,
|
| + uint32_t request_id) {
|
| + EnterInstanceNoLock enter(instance);
|
| + if (enter.succeeded())
|
| + enter.functions()->DecoderStopped(instance, request_id);
|
| +}
|
| +
|
| void PPB_Instance_Proxy::OnHostMsgDeliverFrame(
|
| PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
|
|