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

Side by Side Diff: ppapi/api/private/ppb_content_decryptor_private.idl

Issue 11348365: Encrypted Media: Allows empty key message to be fired. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update doc Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/crypto/aes_decryptor_unittest.cc ('k') | ppapi/c/private/ppb_content_decryptor_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * This file defines the <code>PPB_ContentDecryptor_Private</code> 7 * This file defines the <code>PPB_ContentDecryptor_Private</code>
8 * interface. Note: This is a special interface, only to be used for Content 8 * interface. Note: This is a special interface, only to be used for Content
9 * Decryption Modules, not normal plugins. 9 * Decryption Modules, not normal plugins.
10 */ 10 */
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 * <code>AddKey()</code> and <code>KeyMessage()</code> calls required to 87 * <code>AddKey()</code> and <code>KeyMessage()</code> calls required to
88 * prepare for decryption. 88 * prepare for decryption.
89 * 89 *
90 * @param[in] key_system A <code>PP_Var</code> of type 90 * @param[in] key_system A <code>PP_Var</code> of type
91 * <code>PP_VARTYPE_STRING</code> containing the name of the key system. 91 * <code>PP_VARTYPE_STRING</code> containing the name of the key system.
92 * 92 *
93 * @param[in] session_id A <code>PP_Var</code> of type 93 * @param[in] session_id A <code>PP_Var</code> of type
94 * <code>PP_VARTYPE_STRING</code> containing the session ID. 94 * <code>PP_VARTYPE_STRING</code> containing the session ID.
95 * 95 *
96 * @param[in] resource A <code>PP_Resource</code> corresponding to a 96 * @param[in] resource A <code>PP_Resource</code> corresponding to a
97 * <code>PPB_Buffer_Dev</code> resource that contains the message. 97 * <code>PPB_Buffer_Dev</code> resource that contains the message. A 0
98 * resource is allowed which indicates an empty message.
98 * 99 *
99 * @param[in] default_url A <code>PP_Var</code> of type 100 * @param[in] default_url A <code>PP_Var</code> of type
100 * <code>PP_VARTYPE_STRING</code> containing the default URL for the message. 101 * <code>PP_VARTYPE_STRING</code> containing the default URL for the message.
101 */ 102 */
102 void KeyMessage( 103 void KeyMessage(
103 [in] PP_Instance instance, 104 [in] PP_Instance instance,
104 [in] PP_Var key_system, 105 [in] PP_Var key_system,
105 [in] PP_Var session_id, 106 [in] PP_Var session_id,
106 [in] PP_Resource message, 107 [in] PP_Resource message,
107 [in] PP_Var default_url); 108 [in] PP_Var default_url);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 * 243 *
243 * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that 244 * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that
244 * contains the tracking info and result code associated with the 245 * contains the tracking info and result code associated with the
245 * <code>decrypted_block</code>. 246 * <code>decrypted_block</code>.
246 */ 247 */
247 void DeliverSamples( 248 void DeliverSamples(
248 [in] PP_Instance instance, 249 [in] PP_Instance instance,
249 [in] PP_Resource audio_frames, 250 [in] PP_Resource audio_frames,
250 [in] PP_DecryptedBlockInfo decrypted_block_info); 251 [in] PP_DecryptedBlockInfo decrypted_block_info);
251 }; 252 };
OLDNEW
« no previous file with comments | « media/crypto/aes_decryptor_unittest.cc ('k') | ppapi/c/private/ppb_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698