| Index: ppapi/thunk/ppb_content_decryptor_private_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_content_decryptor_private_thunk.cc b/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
|
| index e0e4c68cdb576be8b274e5d6f958ca6f34ecf8b1..da77d6e3912896c6b3dd1294303d40db74edf86c 100644
|
| --- a/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
|
| +++ b/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
|
| @@ -69,6 +69,25 @@ void DecoderInitialized(PP_Instance instance,
|
| enter.functions()->DecoderInitialized(instance, success, request_id);
|
| }
|
|
|
| +void DecoderDeinitializeDone(PP_Instance instance,
|
| + PP_DecryptorStreamType decoder_type,
|
| + uint32_t request_id) {
|
| + EnterInstance enter(instance);
|
| + if (enter.succeeded()) {
|
| + enter.functions()->DecoderDeinitializeDone(instance,
|
| + decoder_type,
|
| + request_id);
|
| + }
|
| +}
|
| +
|
| +void DecoderResetDone(PP_Instance instance,
|
| + PP_DecryptorStreamType decoder_type,
|
| + uint32_t request_id) {
|
| + EnterInstance enter(instance);
|
| + if (enter.succeeded())
|
| + enter.functions()->DecoderResetDone(instance, decoder_type, request_id);
|
| +}
|
| +
|
| void DeliverFrame(PP_Instance instance,
|
| PP_Resource decrypted_frame,
|
| const PP_DecryptedFrameInfo* frame_info) {
|
| @@ -92,6 +111,8 @@ const PPB_ContentDecryptor_Private g_ppb_decryption_thunk = {
|
| &KeyError,
|
| &DeliverBlock,
|
| &DecoderInitialized,
|
| + &DecoderDeinitializeDone,
|
| + &DecoderResetDone,
|
| &DeliverFrame,
|
| &DeliverSamples
|
| };
|
|
|