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

Side by Side Diff: ppapi/c/private/ppb_content_decryptor_private.h

Issue 813683005: Add |legacy_destination_url| back to SessionMessage for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes Created 5 years, 11 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 unified diff | Download patch
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 /* From private/ppb_content_decryptor_private.idl, 6 /* From private/ppb_content_decryptor_private.idl,
7 * modified Wed Jan 7 16:48:10 2015. 7 * modified Mon Jan 12 17:33:29 2015.
8 */ 8 */
9 9
10 #ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ 10 #ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_
11 #define PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ 11 #define PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_
12 12
13 #include "ppapi/c/pp_bool.h" 13 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_instance.h" 14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h" 15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_stdint.h" 17 #include "ppapi/c/pp_stdint.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 * 95 *
96 * @param[in] web_session_id A <code>PP_Var</code> of type 96 * @param[in] web_session_id A <code>PP_Var</code> of type
97 * <code>PP_VARTYPE_STRING</code> containing the ID of a session for 97 * <code>PP_VARTYPE_STRING</code> containing the ID of a session for
98 * which this message is intended. 98 * which this message is intended.
99 * 99 *
100 * @param[in] message_type A <code>PP_CdmMessageType</code> containing the 100 * @param[in] message_type A <code>PP_CdmMessageType</code> containing the
101 * message type. 101 * message type.
102 * 102 *
103 * @param[in] message A <code>PP_Var</code> of type 103 * @param[in] message A <code>PP_Var</code> of type
104 * <code>PP_VARTYPE_ARRAY_BUFFER</code> that contains the message. 104 * <code>PP_VARTYPE_ARRAY_BUFFER</code> that contains the message.
105 *
106 * @param[in] legacy_destination_url A <code>PP_Var</code> of type
107 * <code>PP_VARTYPE_STRING</code> containing the destination URL for the
108 * message.
105 */ 109 */
106 void (*SessionMessage)(PP_Instance instance, 110 void (*SessionMessage)(PP_Instance instance,
107 struct PP_Var web_session_id, 111 struct PP_Var web_session_id,
108 PP_CdmMessageType message_type, 112 PP_CdmMessageType message_type,
109 struct PP_Var message); 113 struct PP_Var message,
114 struct PP_Var legacy_destination_url);
110 /** 115 /**
111 * The keys for a session have changed. 116 * The keys for a session have changed.
112 * 117 *
113 * @param[in] web_session_id A <code>PP_Var</code> of type 118 * @param[in] web_session_id A <code>PP_Var</code> of type
114 * <code>PP_VARTYPE_STRING</code> containing the ID of the session that has 119 * <code>PP_VARTYPE_STRING</code> containing the ID of the session that has
115 * a change in keys. 120 * a change in keys.
116 * 121 *
117 * @param[in] has_additional_usable_key A <code>PP_Bool</code> indicating if 122 * @param[in] has_additional_usable_key A <code>PP_Bool</code> indicating if
118 * a new usable key has been added. 123 * a new usable key has been added.
119 * 124 *
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 const struct PP_DecryptedSampleInfo* decrypted_sample_info); 308 const struct PP_DecryptedSampleInfo* decrypted_sample_info);
304 }; 309 };
305 310
306 typedef struct PPB_ContentDecryptor_Private_0_13 PPB_ContentDecryptor_Private; 311 typedef struct PPB_ContentDecryptor_Private_0_13 PPB_ContentDecryptor_Private;
307 /** 312 /**
308 * @} 313 * @}
309 */ 314 */
310 315
311 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ 316 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */
312 317
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_content_decryptor_private.idl ('k') | ppapi/cpp/private/content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698