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 <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 ppapi::HostResource /* loader */, | 568 ppapi::HostResource /* loader */, |
569 int32_t /* result */) | 569 int32_t /* result */) |
570 #if !defined(OS_NACL) | 570 #if !defined(OS_NACL) |
571 // PPB_Broker. | 571 // PPB_Broker. |
572 IPC_MESSAGE_ROUTED3( | 572 IPC_MESSAGE_ROUTED3( |
573 PpapiMsg_PPBBroker_ConnectComplete, | 573 PpapiMsg_PPBBroker_ConnectComplete, |
574 ppapi::HostResource /* broker */, | 574 ppapi::HostResource /* broker */, |
575 IPC::PlatformFileForTransit /* handle */, | 575 IPC::PlatformFileForTransit /* handle */, |
576 int32_t /* result */) | 576 int32_t /* result */) |
577 | 577 |
| 578 // PPP_ContentDecryptor_Dev |
| 579 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest, |
| 580 PP_Instance /* instance */, |
| 581 ppapi::proxy::SerializedVar /* key_system, String */, |
| 582 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) |
| 583 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_AddKey, |
| 584 PP_Instance /* instance */, |
| 585 ppapi::proxy::SerializedVar /* session_id, String */, |
| 586 ppapi::proxy::SerializedVar /* key, ArrayBuffer */) |
| 587 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPContentDecryptor_CancelKeyRequest, |
| 588 PP_Instance /* instance */, |
| 589 ppapi::proxy::SerializedVar /* session_id, String */) |
| 590 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_Decrypt, |
| 591 PP_Instance /* instance */, |
| 592 ppapi::HostResource /* encrypted_block, PPB_Buffer_Dev */, |
| 593 uint64_t /* request_id */) |
| 594 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, |
| 595 PP_Instance /* instance */, |
| 596 ppapi::HostResource /* encrypted_block, PPB_Buffer_Dev */, |
| 597 uint64_t /* request_id */) |
| 598 |
578 // PPB_NetworkMonitor_Private. | 599 // PPB_NetworkMonitor_Private. |
579 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList, | 600 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList, |
580 uint32 /* plugin_dispatcher_id */, | 601 uint32 /* plugin_dispatcher_id */, |
581 ppapi::NetworkList /* network_list */) | 602 ppapi::NetworkList /* network_list */) |
582 | 603 |
583 // PPB_Talk | 604 // PPB_Talk |
584 IPC_MESSAGE_ROUTED3( | 605 IPC_MESSAGE_ROUTED3( |
585 PpapiMsg_PPBTalk_GetPermissionACK, | 606 PpapiMsg_PPBTalk_GetPermissionACK, |
586 uint32 /* plugin_dispatcher_id */, | 607 uint32 /* plugin_dispatcher_id */, |
587 PP_Resource /* resource */, | 608 PP_Resource /* resource */, |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 1152 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
1132 ppapi::HostResource /* broker */) | 1153 ppapi::HostResource /* broker */) |
1133 | 1154 |
1134 // PPB_Buffer. | 1155 // PPB_Buffer. |
1135 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 1156 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
1136 PP_Instance /* instance */, | 1157 PP_Instance /* instance */, |
1137 uint32_t /* size */, | 1158 uint32_t /* size */, |
1138 ppapi::HostResource /* result_resource */, | 1159 ppapi::HostResource /* result_resource */, |
1139 base::SharedMemoryHandle /* result_shm_handle */) | 1160 base::SharedMemoryHandle /* result_shm_handle */) |
1140 | 1161 |
| 1162 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. |
| 1163 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_NeedKey, |
| 1164 PP_Instance /* instance */, |
| 1165 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1166 ppapi::proxy::SerializedVar /* session_id, String */, |
| 1167 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) |
| 1168 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_KeyAdded, |
| 1169 PP_Instance /* instance */, |
| 1170 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1171 ppapi::proxy::SerializedVar /* session_id, String */) |
| 1172 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_KeyMessage, |
| 1173 PP_Instance /* instance */, |
| 1174 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1175 ppapi::proxy::SerializedVar /* session_id, String */, |
| 1176 PP_Resource /* message, PPB_Buffer_Dev */, |
| 1177 ppapi::proxy::SerializedVar /* default_url, String */) |
| 1178 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_KeyError, |
| 1179 PP_Instance /* instance */, |
| 1180 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1181 ppapi::proxy::SerializedVar /* session_id, String */, |
| 1182 int32_t /* media_error */, |
| 1183 int32_t /* system_error */) |
| 1184 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverBlock, |
| 1185 PP_Instance /* instance */, |
| 1186 PP_Resource /* decrypted_block, PPB_Buffer_Dev */, |
| 1187 uint64_t /* request_id */) |
| 1188 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverFrame, |
| 1189 PP_Instance /* instance */, |
| 1190 PP_Resource /* decrypted_frame, PPB_Buffer_Dev */, |
| 1191 uint64_t /* request_id */) |
| 1192 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverSamples, |
| 1193 PP_Instance /* instance */, |
| 1194 PP_Resource /* decrypted_samples, PPB_Buffer_Dev */, |
| 1195 uint64_t /* request_id */) |
| 1196 |
1141 // PPB_NetworkMonitor_Private. | 1197 // PPB_NetworkMonitor_Private. |
1142 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, | 1198 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, |
1143 uint32 /* plugin_dispatcher_id */) | 1199 uint32 /* plugin_dispatcher_id */) |
1144 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, | 1200 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, |
1145 uint32 /* plugin_dispatcher_id */) | 1201 uint32 /* plugin_dispatcher_id */) |
1146 | 1202 |
1147 // PPB_HostResolver_Private. | 1203 // PPB_HostResolver_Private. |
1148 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, | 1204 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, |
1149 int32 /* routing_id */, | 1205 int32 /* routing_id */, |
1150 uint32 /* plugin_dispatcher_id */, | 1206 uint32 /* plugin_dispatcher_id */, |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 | 1511 |
1456 // File chooser. | 1512 // File chooser. |
1457 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1513 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1458 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1514 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1459 bool /* save_as */, | 1515 bool /* save_as */, |
1460 bool /* open_multiple */, | 1516 bool /* open_multiple */, |
1461 std::string /* suggested_file_name */, | 1517 std::string /* suggested_file_name */, |
1462 std::vector<std::string> /* accept_mime_types */) | 1518 std::vector<std::string> /* accept_mime_types */) |
1463 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1519 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1464 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1520 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |