| Index: ppapi/proxy/ppb_instance_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
|
| index 373451237eb3dd105b87e54054757c6c5a144c3a..d98f79979ff323d35deb8f3283304f9ccc7aca4e 100644
|
| --- a/ppapi/proxy/ppb_instance_proxy.cc
|
| +++ b/ppapi/proxy/ppb_instance_proxy.cc
|
| @@ -167,6 +167,8 @@ bool PPB_Instance_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| OnHostMsgKeyError)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverBlock,
|
| OnHostMsgDeliverBlock)
|
| + IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DecoderInitialized,
|
| + OnHostMsgDecoderInitialized)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverFrame,
|
| OnHostMsgDeliverFrame)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_DeliverSamples,
|
| @@ -532,6 +534,17 @@ void PPB_Instance_Proxy::DeliverBlock(PP_Instance instance,
|
| serialized_block_info));
|
| }
|
|
|
| +void PPB_Instance_Proxy::DecoderInitialized(PP_Instance instance,
|
| + PP_Bool success,
|
| + uint32_t request_id) {
|
| + dispatcher()->Send(
|
| + new PpapiHostMsg_PPBInstance_DecoderInitialized(
|
| + API_ID_PPB_INSTANCE,
|
| + instance,
|
| + success,
|
| + request_id));
|
| +}
|
| +
|
| void PPB_Instance_Proxy::DeliverFrame(PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
| const PP_DecryptedFrameInfo* frame_info) {
|
| @@ -952,6 +965,15 @@ void PPB_Instance_Proxy::OnHostMsgDeliverBlock(
|
| enter.functions()->DeliverBlock(instance, decrypted_block, &block_info);
|
| }
|
|
|
| +void PPB_Instance_Proxy::OnHostMsgDecoderInitialized(
|
| + PP_Instance instance,
|
| + PP_Bool success,
|
| + uint32_t request_id) {
|
| + EnterInstanceNoLock enter(instance);
|
| + if (enter.succeeded())
|
| + enter.functions()->DecoderInitialized(instance, success, request_id);
|
| +}
|
| +
|
| void PPB_Instance_Proxy::OnHostMsgDeliverFrame(
|
| PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
|
|