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

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: Address comments with the exception of renaming Deinit 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
« no previous file with comments | « ppapi/api/private/pp_content_decryptor.idl ('k') | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b26a43013794c983c14931cca2fa121f09122ce7..021c8ea6406efe663892d6e6166fc32684c5357f 100644
--- a/ppapi/api/private/ppb_content_decryptor_private.idl
+++ b/ppapi/api/private/ppb_content_decryptor_private.idl
@@ -166,6 +166,38 @@ interface PPB_ContentDecryptor_Private {
[in] uint32_t request_id);
/**
+ * 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_DecryptorStreamType</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_DecryptorStreamType 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_DecryptorStreamType</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_DecryptorStreamType 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.
« no previous file with comments | « ppapi/api/private/pp_content_decryptor.idl ('k') | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698