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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 496143002: Update Pepper interface for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove vector.data() Created 6 years, 3 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 IPC_MESSAGE_ROUTED3( 750 IPC_MESSAGE_ROUTED3(
751 PpapiMsg_PPBBroker_ConnectComplete, 751 PpapiMsg_PPBBroker_ConnectComplete,
752 ppapi::HostResource /* broker */, 752 ppapi::HostResource /* broker */,
753 IPC::PlatformFileForTransit /* handle */, 753 IPC::PlatformFileForTransit /* handle */,
754 int32_t /* result */) 754 int32_t /* result */)
755 755
756 // PPP_ContentDecryptor_Dev 756 // PPP_ContentDecryptor_Dev
757 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_Initialize, 757 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_Initialize,
758 PP_Instance /* instance */, 758 PP_Instance /* instance */,
759 ppapi::proxy::SerializedVar /* key_system, String */) 759 ppapi::proxy::SerializedVar /* key_system, String */)
760 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_SetServerCertificate,
761 PP_Instance /* instance */,
762 uint32_t /* promise_id */,
763 std::vector<uint8_t> /* certificate */)
760 IPC_MESSAGE_ROUTED5(PpapiMsg_PPPContentDecryptor_CreateSession, 764 IPC_MESSAGE_ROUTED5(PpapiMsg_PPPContentDecryptor_CreateSession,
761 PP_Instance /* instance */, 765 PP_Instance /* instance */,
762 uint32_t /* promise_id */, 766 uint32_t /* promise_id */,
763 ppapi::proxy::SerializedVar /* init_data_type, String */, 767 ppapi::proxy::SerializedVar /* init_data_type, String */,
764 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */, 768 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */,
765 PP_SessionType /* session_type */) 769 PP_SessionType /* session_type */)
766 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession, 770 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession,
767 PP_Instance /* instance */, 771 PP_Instance /* instance */,
768 uint32_t /* promise_id */, 772 uint32_t /* promise_id */,
769 ppapi::proxy::SerializedVar /* web_session_id, String */) 773 ppapi::proxy::SerializedVar /* web_session_id, String */)
770 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_UpdateSession, 774 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_UpdateSession,
771 PP_Instance /* instance */, 775 PP_Instance /* instance */,
772 uint32_t /* promise_id */, 776 uint32_t /* promise_id */,
773 ppapi::proxy::SerializedVar /* web_session_id, String */, 777 ppapi::proxy::SerializedVar /* web_session_id, String */,
774 ppapi::proxy::SerializedVar /* response, ArrayBuffer */) 778 ppapi::proxy::SerializedVar /* response, ArrayBuffer */)
775 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_ReleaseSession, 779 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_CloseSession,
776 PP_Instance /* instance */, 780 PP_Instance /* instance */,
777 uint32_t /* promise_id */, 781 uint32_t /* promise_id */,
778 ppapi::proxy::SerializedVar /* web_session_id, String */) 782 std::string /* web_session_id */)
783 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_RemoveSession,
784 PP_Instance /* instance */,
785 uint32_t /* promise_id */,
786 std::string /* web_session_id */)
787 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GetUsableKeyIds,
788 PP_Instance /* instance */,
789 uint32_t /* promise_id */,
790 std::string /* web_session_id */)
779 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, 791 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt,
780 PP_Instance /* instance */, 792 PP_Instance /* instance */,
781 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, 793 ppapi::proxy::PPPDecryptor_Buffer /* buffer */,
782 std::string /* serialized_block_info */) 794 std::string /* serialized_block_info */)
783 IPC_MESSAGE_ROUTED3( 795 IPC_MESSAGE_ROUTED3(
784 PpapiMsg_PPPContentDecryptor_InitializeAudioDecoder, 796 PpapiMsg_PPPContentDecryptor_InitializeAudioDecoder,
785 PP_Instance /* instance */, 797 PP_Instance /* instance */,
786 std::string /* serialized_decoder_config */, 798 std::string /* serialized_decoder_config */,
787 ppapi::proxy::PPPDecryptor_Buffer /* extra_data_buffer */) 799 ppapi::proxy::PPPDecryptor_Buffer /* extra_data_buffer */)
788 IPC_MESSAGE_ROUTED3( 800 IPC_MESSAGE_ROUTED3(
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 ppapi::proxy::SerializedHandle /* result_shm_handle */) 1097 ppapi::proxy::SerializedHandle /* result_shm_handle */)
1086 1098
1087 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. 1099 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy.
1088 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PromiseResolved, 1100 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PromiseResolved,
1089 PP_Instance /* instance */, 1101 PP_Instance /* instance */,
1090 uint32_t /* promise_id */) 1102 uint32_t /* promise_id */)
1091 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithSession, 1103 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithSession,
1092 PP_Instance /* instance */, 1104 PP_Instance /* instance */,
1093 uint32_t /* promise_id */, 1105 uint32_t /* promise_id */,
1094 ppapi::proxy::SerializedVar /* web_session_id, String */) 1106 ppapi::proxy::SerializedVar /* web_session_id, String */)
1107 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithKeyIds,
1108 PP_Instance /* instance */,
1109 uint32_t /* promise_id */,
1110 std::vector<std::vector<uint8_t> > /* key_ids */)
1095 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected, 1111 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected,
1096 PP_Instance /* instance */, 1112 PP_Instance /* instance */,
1097 uint32_t /* promise_id */, 1113 uint32_t /* promise_id */,
1098 PP_CdmExceptionCode /* exception_code */, 1114 PP_CdmExceptionCode /* exception_code */,
1099 int32_t /* system_code */, 1115 int32_t /* system_code */,
1100 ppapi::proxy::SerializedVar /* error_description, String */) 1116 ppapi::proxy::SerializedVar /* error_description, String */)
1101 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage, 1117 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage,
1102 PP_Instance /* instance */, 1118 PP_Instance /* instance */,
1103 ppapi::proxy::SerializedVar /* web_session_id, String */, 1119 ppapi::proxy::SerializedVar /* web_session_id, String */,
1104 ppapi::proxy::SerializedVar /* message, ArrayBuffer */, 1120 ppapi::proxy::SerializedVar /* message, ArrayBuffer */,
1105 ppapi::proxy::SerializedVar /* destination_url, String */) 1121 ppapi::proxy::SerializedVar /* destination_url, String */)
1122 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionKeysChange,
1123 PP_Instance /* instance */,
1124 std::string /* web_session_id */,
1125 PP_Bool /* has_additional_usable_key */)
1126 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionExpirationChange,
1127 PP_Instance /* instance */,
1128 std::string /* web_session_id */,
1129 PP_Time /* new_expiry_time */)
1106 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady, 1130 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady,
1107 PP_Instance /* instance */, 1131 PP_Instance /* instance */,
1108 ppapi::proxy::SerializedVar /* web_session_id, String */) 1132 ppapi::proxy::SerializedVar /* web_session_id, String */)
1109 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed, 1133 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed,
1110 PP_Instance /* instance */, 1134 PP_Instance /* instance */,
1111 ppapi::proxy::SerializedVar /* web_session_id, String */) 1135 ppapi::proxy::SerializedVar /* web_session_id, String */)
1112 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_SessionError, 1136 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_SessionError,
1113 PP_Instance /* instance */, 1137 PP_Instance /* instance */,
1114 ppapi::proxy::SerializedVar /* web_session_id, String */, 1138 ppapi::proxy::SerializedVar /* web_session_id, String */,
1115 PP_CdmExceptionCode /* exception_code */, 1139 PP_CdmExceptionCode /* exception_code */,
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2265 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2242 PP_TalkPermission /* permission */) 2266 PP_TalkPermission /* permission */)
2243 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2267 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2244 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2268 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2245 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2269 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2246 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2270 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2247 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2271 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2248 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2272 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2249 2273
2250 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2274 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698