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 // 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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 IPC_MESSAGE_ROUTED3( | 749 IPC_MESSAGE_ROUTED3( |
750 PpapiMsg_PPBBroker_ConnectComplete, | 750 PpapiMsg_PPBBroker_ConnectComplete, |
751 ppapi::HostResource /* broker */, | 751 ppapi::HostResource /* broker */, |
752 IPC::PlatformFileForTransit /* handle */, | 752 IPC::PlatformFileForTransit /* handle */, |
753 int32_t /* result */) | 753 int32_t /* result */) |
754 | 754 |
755 // PPP_ContentDecryptor_Dev | 755 // PPP_ContentDecryptor_Dev |
756 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_Initialize, | 756 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_Initialize, |
757 PP_Instance /* instance */, | 757 PP_Instance /* instance */, |
758 ppapi::proxy::SerializedVar /* key_system, String */) | 758 ppapi::proxy::SerializedVar /* key_system, String */) |
| 759 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_SetServerCertificate, |
| 760 PP_Instance /* instance */, |
| 761 uint32_t /* promise_id */, |
| 762 ppapi::proxy::SerializedVar /* certificate, ArrayBuffer */) |
759 IPC_MESSAGE_ROUTED5(PpapiMsg_PPPContentDecryptor_CreateSession, | 763 IPC_MESSAGE_ROUTED5(PpapiMsg_PPPContentDecryptor_CreateSession, |
760 PP_Instance /* instance */, | 764 PP_Instance /* instance */, |
761 uint32_t /* promise_id */, | 765 uint32_t /* promise_id */, |
762 ppapi::proxy::SerializedVar /* init_data_type, String */, | 766 ppapi::proxy::SerializedVar /* init_data_type, String */, |
763 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */, | 767 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */, |
764 PP_SessionType /* session_type */) | 768 PP_SessionType /* session_type */) |
765 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession, | 769 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_LoadSession, |
766 PP_Instance /* instance */, | 770 PP_Instance /* instance */, |
767 uint32_t /* promise_id */, | 771 uint32_t /* promise_id */, |
768 ppapi::proxy::SerializedVar /* web_session_id, String */) | 772 ppapi::proxy::SerializedVar /* web_session_id, String */) |
769 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_UpdateSession, | 773 IPC_MESSAGE_ROUTED4(PpapiMsg_PPPContentDecryptor_UpdateSession, |
770 PP_Instance /* instance */, | 774 PP_Instance /* instance */, |
771 uint32_t /* promise_id */, | 775 uint32_t /* promise_id */, |
772 ppapi::proxy::SerializedVar /* web_session_id, String */, | 776 ppapi::proxy::SerializedVar /* web_session_id, String */, |
773 ppapi::proxy::SerializedVar /* response, ArrayBuffer */) | 777 ppapi::proxy::SerializedVar /* response, ArrayBuffer */) |
774 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_ReleaseSession, | 778 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GetUsableKeyIds, |
775 PP_Instance /* instance */, | 779 PP_Instance /* instance */, |
776 uint32_t /* promise_id */, | 780 uint32_t /* promise_id */, |
777 ppapi::proxy::SerializedVar /* web_session_id, String */) | 781 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 782 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_CloseSession, |
| 783 PP_Instance /* instance */, |
| 784 uint32_t /* promise_id */, |
| 785 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 786 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_RemoveSession, |
| 787 PP_Instance /* instance */, |
| 788 uint32_t /* promise_id */, |
| 789 ppapi::proxy::SerializedVar /* web_session_id, String */) |
778 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, | 790 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, |
779 PP_Instance /* instance */, | 791 PP_Instance /* instance */, |
780 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, | 792 ppapi::proxy::PPPDecryptor_Buffer /* buffer */, |
781 std::string /* serialized_block_info */) | 793 std::string /* serialized_block_info */) |
782 IPC_MESSAGE_ROUTED3( | 794 IPC_MESSAGE_ROUTED3( |
783 PpapiMsg_PPPContentDecryptor_InitializeAudioDecoder, | 795 PpapiMsg_PPPContentDecryptor_InitializeAudioDecoder, |
784 PP_Instance /* instance */, | 796 PP_Instance /* instance */, |
785 std::string /* serialized_decoder_config */, | 797 std::string /* serialized_decoder_config */, |
786 ppapi::proxy::PPPDecryptor_Buffer /* extra_data_buffer */) | 798 ppapi::proxy::PPPDecryptor_Buffer /* extra_data_buffer */) |
787 IPC_MESSAGE_ROUTED3( | 799 IPC_MESSAGE_ROUTED3( |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 ppapi::proxy::SerializedHandle /* result_shm_handle */) | 1096 ppapi::proxy::SerializedHandle /* result_shm_handle */) |
1085 | 1097 |
1086 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. | 1098 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. |
1087 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PromiseResolved, | 1099 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_PromiseResolved, |
1088 PP_Instance /* instance */, | 1100 PP_Instance /* instance */, |
1089 uint32_t /* promise_id */) | 1101 uint32_t /* promise_id */) |
1090 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithSession, | 1102 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithSession, |
1091 PP_Instance /* instance */, | 1103 PP_Instance /* instance */, |
1092 uint32_t /* promise_id */, | 1104 uint32_t /* promise_id */, |
1093 ppapi::proxy::SerializedVar /* web_session_id, String */) | 1105 ppapi::proxy::SerializedVar /* web_session_id, String */) |
| 1106 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_PromiseResolvedWithKeyIds, |
| 1107 PP_Instance /* instance */, |
| 1108 uint32_t /* promise_id */, |
| 1109 ppapi::proxy::SerializedVar /* key_ids, Array */) |
1094 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected, | 1110 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_PromiseRejected, |
1095 PP_Instance /* instance */, | 1111 PP_Instance /* instance */, |
1096 uint32_t /* promise_id */, | 1112 uint32_t /* promise_id */, |
1097 PP_CdmExceptionCode /* exception_code */, | 1113 PP_CdmExceptionCode /* exception_code */, |
1098 int32_t /* system_code */, | 1114 int32_t /* system_code */, |
1099 ppapi::proxy::SerializedVar /* error_description, String */) | 1115 ppapi::proxy::SerializedVar /* error_description, String */) |
1100 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage, | 1116 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_SessionMessage, |
1101 PP_Instance /* instance */, | 1117 PP_Instance /* instance */, |
1102 ppapi::proxy::SerializedVar /* web_session_id, String */, | 1118 ppapi::proxy::SerializedVar /* web_session_id, String */, |
1103 ppapi::proxy::SerializedVar /* message, ArrayBuffer */, | 1119 ppapi::proxy::SerializedVar /* message, ArrayBuffer */, |
1104 ppapi::proxy::SerializedVar /* destination_url, String */) | 1120 ppapi::proxy::SerializedVar /* destination_url, String */) |
| 1121 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionKeysChange, |
| 1122 PP_Instance /* instance */, |
| 1123 ppapi::proxy::SerializedVar /* web_session_id, String */, |
| 1124 PP_Bool /* has_additional_usable_key */) |
| 1125 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_SessionExpirationChange, |
| 1126 PP_Instance /* instance */, |
| 1127 ppapi::proxy::SerializedVar /* web_session_id, String */, |
| 1128 PP_Time /* new_expiry_time */) |
1105 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady, | 1129 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionReady, |
1106 PP_Instance /* instance */, | 1130 PP_Instance /* instance */, |
1107 ppapi::proxy::SerializedVar /* web_session_id, String */) | 1131 ppapi::proxy::SerializedVar /* web_session_id, String */) |
1108 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed, | 1132 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBInstance_SessionClosed, |
1109 PP_Instance /* instance */, | 1133 PP_Instance /* instance */, |
1110 ppapi::proxy::SerializedVar /* web_session_id, String */) | 1134 ppapi::proxy::SerializedVar /* web_session_id, String */) |
1111 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_SessionError, | 1135 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_SessionError, |
1112 PP_Instance /* instance */, | 1136 PP_Instance /* instance */, |
1113 ppapi::proxy::SerializedVar /* web_session_id, String */, | 1137 ppapi::proxy::SerializedVar /* web_session_id, String */, |
1114 PP_CdmExceptionCode /* exception_code */, | 1138 PP_CdmExceptionCode /* exception_code */, |
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2240 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2264 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2241 PP_TalkPermission /* permission */) | 2265 PP_TalkPermission /* permission */) |
2242 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2266 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2243 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2267 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2244 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2268 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2245 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2269 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2246 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2270 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2247 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2271 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2248 | 2272 |
2249 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2273 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |