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>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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 * | 82 * |
83 * @param[in] web_session_id A <code>PP_Var</code> of type | 83 * @param[in] web_session_id A <code>PP_Var</code> of type |
84 * <code>PP_VARTYPE_STRING</code> containing the ID of a session for | 84 * <code>PP_VARTYPE_STRING</code> containing the ID of a session for |
85 * which this message is intended. | 85 * which this message is intended. |
86 * | 86 * |
87 * @param[in] message_type A <code>PP_CdmMessageType</code> containing the | 87 * @param[in] message_type A <code>PP_CdmMessageType</code> containing the |
88 * message type. | 88 * message type. |
89 * | 89 * |
90 * @param[in] message A <code>PP_Var</code> of type | 90 * @param[in] message A <code>PP_Var</code> of type |
91 * <code>PP_VARTYPE_ARRAY_BUFFER</code> that contains the message. | 91 * <code>PP_VARTYPE_ARRAY_BUFFER</code> that contains the message. |
| 92 * |
| 93 * @param[in] legacy_destination_url A <code>PP_Var</code> of type |
| 94 * <code>PP_VARTYPE_STRING</code> containing the destination URL for the |
| 95 * message. |
92 */ | 96 */ |
93 void SessionMessage( | 97 void SessionMessage( |
94 [in] PP_Instance instance, | 98 [in] PP_Instance instance, |
95 [in] PP_Var web_session_id, | 99 [in] PP_Var web_session_id, |
96 [in] PP_CdmMessageType message_type, | 100 [in] PP_CdmMessageType message_type, |
97 [in] PP_Var message); | 101 [in] PP_Var message, |
| 102 [in] PP_Var legacy_destination_url); |
98 | 103 |
99 /** | 104 /** |
100 * The keys for a session have changed. | 105 * The keys for a session have changed. |
101 * | 106 * |
102 * @param[in] web_session_id A <code>PP_Var</code> of type | 107 * @param[in] web_session_id A <code>PP_Var</code> of type |
103 * <code>PP_VARTYPE_STRING</code> containing the ID of the session that has | 108 * <code>PP_VARTYPE_STRING</code> containing the ID of the session that has |
104 * a change in keys. | 109 * a change in keys. |
105 * | 110 * |
106 * @param[in] has_additional_usable_key A <code>PP_Bool</code> indicating if | 111 * @param[in] has_additional_usable_key A <code>PP_Bool</code> indicating if |
107 * a new usable key has been added. | 112 * a new usable key has been added. |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 * | 306 * |
302 * @param[in] decrypted_sample_info A <code>PP_DecryptedSampleInfo</code> that | 307 * @param[in] decrypted_sample_info A <code>PP_DecryptedSampleInfo</code> that |
303 * contains the tracking info and result code associated with the decrypted | 308 * contains the tracking info and result code associated with the decrypted |
304 * samples. | 309 * samples. |
305 */ | 310 */ |
306 void DeliverSamples( | 311 void DeliverSamples( |
307 [in] PP_Instance instance, | 312 [in] PP_Instance instance, |
308 [in] PP_Resource audio_frames, | 313 [in] PP_Resource audio_frames, |
309 [in] PP_DecryptedSampleInfo decrypted_sample_info); | 314 [in] PP_DecryptedSampleInfo decrypted_sample_info); |
310 }; | 315 }; |
OLD | NEW |