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

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: Finish first pass. 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..207cee98bd8d5e5c6647fe4d3644c4df761a0274 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,32 @@ interface PPB_ContentDecryptor_Private {
[in] PP_DecryptedBlockInfo decrypted_block_info);
/**
+ * Called after the <code>ResetAudioDecoder()</code> or
Ami GONE FROM CHROMIUM 2012/10/09 07:26:38 This CL talks about Audio-related methods that don
Tom Finegan 2012/10/10 00:39:32 Good point. I'll ask Brett once we finish reviewin
+ * <code>ResetVideoDecoder()</code> method on the
+ * <code>PPP_ContentDecryptor_Private</code> interface completes to report
+ * decoder reset completion to the browser.
+ *
+ * @param[in] request_id The <code>request_id</code> value passed to
+ * <code>ResetAudioDecoder</code> or <code>ResetVideoDecoder</code>.
+ */
+ void DecoderReset(
Ami GONE FROM CHROMIUM 2012/10/09 07:25:54 s/Reset/ResetDone/ ? (to clarify observation vs.
xhwang 2012/10/09 16:27:27 These two methods are not needed for now, at least
Ami GONE FROM CHROMIUM 2012/10/09 16:41:05 I'm not sure what you're asking. I thought this wa
xhwang 2012/10/09 18:41:20 Chatted with fischman offline again. We'll need re
Tom Finegan 2012/10/10 00:39:32 The request IDs remain, and this method has been r
+ [in] PP_Instance instance,
+ [in] uint32_t request_id);
+
+ /**
+ * Called after the <code>StopAudioDecoder()</code> or
+ * <code>StopVideoDecoder()</code> method on the
+ * <code>PPP_ContentDecryptor_Private</code> interface completes to report
+ * decoder stop completion to the browser.
+ *
+ * @param[in] request_id The <code>request_id</code> value passed to
+ * <code>StopAudioDecoder</code> or <code>StopVideoDecoder</code>.
+ */
+ void DecoderStopped(
Ami GONE FROM CHROMIUM 2012/10/09 07:25:54 s/Stopped/StopDone/
Tom Finegan 2012/10/10 00:39:32 Done.
+ [in] PP_Instance instance,
+ [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