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 int32_t /* request_id */) |
| 594 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_DecryptAndDecode, |
| 595 PP_Instance /* instance */, |
| 596 ppapi::HostResource /* encrypted_block, PPB_Buffer_Dev */, |
| 597 int32_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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 1150 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
1130 ppapi::HostResource /* broker */) | 1151 ppapi::HostResource /* broker */) |
1131 | 1152 |
1132 // PPB_Buffer. | 1153 // PPB_Buffer. |
1133 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 1154 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
1134 PP_Instance /* instance */, | 1155 PP_Instance /* instance */, |
1135 uint32_t /* size */, | 1156 uint32_t /* size */, |
1136 ppapi::HostResource /* result_resource */, | 1157 ppapi::HostResource /* result_resource */, |
1137 base::SharedMemoryHandle /* result_shm_handle */) | 1158 base::SharedMemoryHandle /* result_shm_handle */) |
1138 | 1159 |
| 1160 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. |
| 1161 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_NeedKey, |
| 1162 PP_Instance /* instance */, |
| 1163 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1164 ppapi::proxy::SerializedVar /* session_id, String */, |
| 1165 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) |
| 1166 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_KeyAdded, |
| 1167 PP_Instance /* instance */, |
| 1168 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1169 ppapi::proxy::SerializedVar /* session_id, String */) |
| 1170 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_KeyMessage, |
| 1171 PP_Instance /* instance */, |
| 1172 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1173 ppapi::proxy::SerializedVar /* session_id, String */, |
| 1174 PP_Resource /* message, PPB_Buffer_Dev */, |
| 1175 ppapi::proxy::SerializedVar /* default_url, String */) |
| 1176 IPC_MESSAGE_ROUTED5(PpapiHostMsg_PPBInstance_KeyError, |
| 1177 PP_Instance /* instance */, |
| 1178 ppapi::proxy::SerializedVar /* key_system, String */, |
| 1179 ppapi::proxy::SerializedVar /* session_id, String */, |
| 1180 int32_t /* media_error */, |
| 1181 int32_t /* system_code */) |
| 1182 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverBlock, |
| 1183 PP_Instance /* instance */, |
| 1184 PP_Resource /* decrypted_block, PPB_Buffer_Dev */, |
| 1185 int32_t /* request_id */) |
| 1186 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverFrame, |
| 1187 PP_Instance /* instance */, |
| 1188 PP_Resource /* decrypted_frame, PPB_Buffer_Dev */, |
| 1189 int32_t /* request_id */) |
| 1190 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_DeliverSamples, |
| 1191 PP_Instance /* instance */, |
| 1192 PP_Resource /* decrypted_samples, PPB_Buffer_Dev */, |
| 1193 int32_t /* request_id */) |
| 1194 |
1139 // PPB_NetworkMonitor_Private. | 1195 // PPB_NetworkMonitor_Private. |
1140 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, | 1196 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, |
1141 uint32 /* plugin_dispatcher_id */) | 1197 uint32 /* plugin_dispatcher_id */) |
1142 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, | 1198 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, |
1143 uint32 /* plugin_dispatcher_id */) | 1199 uint32 /* plugin_dispatcher_id */) |
1144 | 1200 |
1145 // PPB_HostResolver_Private. | 1201 // PPB_HostResolver_Private. |
1146 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, | 1202 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, |
1147 int32 /* routing_id */, | 1203 int32 /* routing_id */, |
1148 uint32 /* plugin_dispatcher_id */, | 1204 uint32 /* plugin_dispatcher_id */, |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 | 1509 |
1454 // File chooser. | 1510 // File chooser. |
1455 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1511 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1456 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1512 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1457 bool /* save_as */, | 1513 bool /* save_as */, |
1458 bool /* open_multiple */, | 1514 bool /* open_multiple */, |
1459 std::string /* suggested_file_name */, | 1515 std::string /* suggested_file_name */, |
1460 std::vector<std::string> /* accept_mime_types */) | 1516 std::vector<std::string> /* accept_mime_types */) |
1461 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1517 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1462 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1518 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |