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

Unified Diff: ppapi/c/private/ppb_content_decryptor_private.h

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/c/private/pp_content_decryptor.h ('k') | ppapi/c/private/ppp_content_decryptor_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_content_decryptor_private.h
diff --git a/ppapi/c/private/ppb_content_decryptor_private.h b/ppapi/c/private/ppb_content_decryptor_private.h
index 624c47d8b0520dbdcaf507968a5ec155ecc9a5bc..0d9af4ef53f5510827a94f9b75762ee15abf56fd 100644
--- a/ppapi/c/private/ppb_content_decryptor_private.h
+++ b/ppapi/c/private/ppb_content_decryptor_private.h
@@ -4,7 +4,7 @@
*/
/* From private/ppb_content_decryptor_private.idl,
- * modified Mon Oct 8 13:44:40 2012.
+ * modified Thu Oct 11 20:30:13 2012.
*/
#ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_
@@ -178,6 +178,34 @@ struct PPB_ContentDecryptor_Private_0_3 {
PP_Bool success,
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)(PP_Instance instance,
+ PP_DecryptorStreamType decoder_type,
+ 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)(PP_Instance instance,
+ PP_DecryptorStreamType decoder_type,
+ 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/c/private/pp_content_decryptor.h ('k') | ppapi/c/private/ppp_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698