Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1206)

Unified Diff: ppapi/api/private/ppb_content_decryptor_private.idl

Issue 11028087: Add decoder de-initialize and reset to the Pepper CDM API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming and generalizing done... Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/api/private/ppb_content_decryptor_private.idl
diff --git a/ppapi/api/private/ppb_content_decryptor_private.idl b/ppapi/api/private/ppb_content_decryptor_private.idl
index d73cae1b95373f1c7d5f0ddf121ba6ae6050104f..f5134522fafa4b8b4bcd0065176e625467d43c09 100644
--- a/ppapi/api/private/ppb_content_decryptor_private.idl
+++ b/ppapi/api/private/ppb_content_decryptor_private.idl
@@ -9,7 +9,7 @@
* Decryption Modules, not normal plugins.
*/
label Chrome {
- M23 = 0.2
+ M24 = 0.3
};
/**
@@ -146,6 +146,38 @@ interface PPB_ContentDecryptor_Private {
[in] PP_DecryptedBlockInfo decrypted_block_info);
/**
+ * Called after the <code>DeinitializeDecoder()</code> method on the
+ * <code>PPP_ContentDecryptor_Private</code> interface completes to report
+ * decoder de-initialization completion to the browser.
+ *
+ * @param[in] decoder_type The <code>PP_StreamType</code> passed to
+ *<code>DeinitializeDecoder()</code>.
+ *
+ * @param[in] request_id The <code>request_id</code> value passed to
+ * <code>DeinitializeDecoder()</code>.
+ */
+ void DecoderDeinitializeDone(
+ [in] PP_Instance instance,
+ [in] PP_StreamType decoder_type,
+ [in] uint32_t request_id);
+
+ /**
+ * Called after the <code>ResetDecoder()</code> method on the
+ * <code>PPP_ContentDecryptor_Private</code> interface completes to report
+ * decoder reset completion to the browser.
+ *
+ * @param[in] decoder_type The <code>PP_StreamType</code> passed to
+ *<code>ResetDecoder()</code>.
+ *
+ * @param[in] request_id The <code>request_id</code> value passed to
+ * <code>ResetDecoder()</code>.
+ */
+ void DecoderResetDone(
+ [in] PP_Instance instance,
+ [in] PP_StreamType decoder_type,
+ [in] uint32_t request_id);
+
+ /**
* Called after the <code>DecryptAndDecode()</code> method on the
* <code>PPP_ContentDecryptor_Private</code> interface completes to deliver
* a decrypted and decoded video frame to the browser for rendering.

Powered by Google App Engine
This is Rietveld 408576698