OLD | NEW |
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>PPP_ContentDecryptor_Private</code> | 7 * This file defines the <code>PPP_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 */ |
11 label Chrome { | 11 label Chrome { |
12 M33 = 0.9 | 12 M34 = 0.10 |
13 }; | 13 }; |
14 | 14 |
15 /** | 15 /** |
16 * <code>PPP_ContentDecryptor_Private</code> structure contains the function | 16 * <code>PPP_ContentDecryptor_Private</code> structure contains the function |
17 * pointers the decryption plugin must implement to provide services needed by | 17 * pointers the decryption plugin must implement to provide services needed by |
18 * the browser. This interface provides the plugin side support for the Content | 18 * the browser. This interface provides the plugin side support for the Content |
19 * Decryption Module (CDM) for Encrypted Media Extensions: | 19 * Decryption Module (CDM) for Encrypted Media Extensions: |
20 * http://www.w3.org/TR/encrypted-media/ | 20 * http://www.w3.org/TR/encrypted-media/ |
21 */ | 21 */ |
22 interface PPP_ContentDecryptor_Private { | 22 interface PPP_ContentDecryptor_Private { |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that | 214 * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that |
215 * contains all auxiliary information needed for decryption of the | 215 * contains all auxiliary information needed for decryption of the |
216 * <code>encrypted_block</code>. | 216 * <code>encrypted_block</code>. |
217 */ | 217 */ |
218 void DecryptAndDecode( | 218 void DecryptAndDecode( |
219 [in] PP_Instance instance, | 219 [in] PP_Instance instance, |
220 [in] PP_DecryptorStreamType decoder_type, | 220 [in] PP_DecryptorStreamType decoder_type, |
221 [in] PP_Resource encrypted_buffer, | 221 [in] PP_Resource encrypted_buffer, |
222 [in] PP_EncryptedBlockInfo encrypted_block_info); | 222 [in] PP_EncryptedBlockInfo encrypted_block_info); |
223 }; | 223 }; |
OLD | NEW |