| Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| index e6d0eeeef7bc34e270c52e5f11db130db19aee18..d90a931f4aa9d8eb339030011b4500d4b3a48d1f 100644
|
| --- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| @@ -1546,6 +1546,24 @@ bool PluginInstance::Decrypt(
|
| return true;
|
| }
|
|
|
| +bool PluginInstance::ResetVideoDecoder() {
|
| + if (!LoadContentDecryptorInterface())
|
| + return false;
|
| +
|
| + // TODO(tomfinegan): Add video decoder reset request tracking.
|
| + plugin_decryption_interface_->ResetVideoDecoder(pp_instance(), 0);
|
| + return true;
|
| +}
|
| +
|
| +bool PluginInstance::StopVideoDecoder() {
|
| + if (!LoadContentDecryptorInterface())
|
| + return false;
|
| +
|
| + // TODO(tomfinegan): Add video decoder stop request tracking.
|
| + plugin_decryption_interface_->StopVideoDecoder(pp_instance(), 0);
|
| + return true;
|
| +}
|
| +
|
| // Note: this method can be used with an unencrypted frame.
|
| bool PluginInstance::DecryptAndDecodeFrame(
|
| const scoped_refptr<media::DecoderBuffer>& encrypted_frame,
|
| @@ -2279,6 +2297,15 @@ void PluginInstance::KeyError(PP_Instance instance,
|
| system_code);
|
| }
|
|
|
| +void PluginInstance::DecoderReset(PP_Instance instance, uint32_t request_id) {
|
| + // TODO(tomfinegan): Add decoder reset completion handling.
|
| +}
|
| +
|
| +void PluginInstance::DecoderStopped(PP_Instance instance,
|
| + uint32_t request_id) {
|
| + // TODO(tomfinegan): Add decoder stop completion handling.
|
| +}
|
| +
|
| void PluginInstance::DeliverBlock(PP_Instance instance,
|
| PP_Resource decrypted_block,
|
| const PP_DecryptedBlockInfo* block_info) {
|
|
|