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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 uint32 /* plugin_dispatcher_id */, | 674 uint32 /* plugin_dispatcher_id */, |
675 uint32 /* socket_id */, | 675 uint32 /* socket_id */, |
676 bool /* succeeded */, | 676 bool /* succeeded */, |
677 std::string /* data */) | 677 std::string /* data */) |
678 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, | 678 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, |
679 uint32 /* plugin_dispatcher_id */, | 679 uint32 /* plugin_dispatcher_id */, |
680 uint32 /* socket_id */, | 680 uint32 /* socket_id */, |
681 bool /* succeeded */, | 681 bool /* succeeded */, |
682 int32_t /* bytes_written */) | 682 int32_t /* bytes_written */) |
683 | 683 |
684 // PPB_UDPSocket_Private. | |
685 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_BindACK, | |
686 uint32 /* plugin_dispatcher_id */, | |
687 uint32 /* socket_id */, | |
688 bool /* succeeded */, | |
689 PP_NetAddress_Private /* bound_addr */) | |
690 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBUDPSocket_RecvFromACK, | |
691 uint32 /* plugin_dispatcher_id */, | |
692 uint32 /* socket_id */, | |
693 bool /* succeeded */, | |
694 std::string /* data */, | |
695 PP_NetAddress_Private /* remote_addr */) | |
696 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, | |
697 uint32 /* plugin_dispatcher_id */, | |
698 uint32 /* socket_id */, | |
699 bool /* succeeded */, | |
700 int32_t /* bytes_written */) | |
701 | |
702 // PPB_URLLoader_Trusted | 684 // PPB_URLLoader_Trusted |
703 IPC_MESSAGE_ROUTED1( | 685 IPC_MESSAGE_ROUTED1( |
704 PpapiMsg_PPBURLLoader_UpdateProgress, | 686 PpapiMsg_PPBURLLoader_UpdateProgress, |
705 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) | 687 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) |
706 | 688 |
707 // PPB_TCPServerSocket_Private. | 689 // PPB_TCPServerSocket_Private. |
708 | 690 |
709 // |socket_resource| should not be used as Resource in browser. The | 691 // |socket_resource| should not be used as Resource in browser. The |
710 // only purpose of this argument is to be echoed back. | 692 // only purpose of this argument is to be echoed back. |
711 // |status| == PP_ERROR_NOSPACE means that the socket table is full | 693 // |status| == PP_ERROR_NOSPACE means that the socket table is full |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 std::vector<std::vector<char> > /* untrusted_certs */) | 1253 std::vector<std::vector<char> > /* untrusted_certs */) |
1272 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, | 1254 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, |
1273 uint32 /* socket_id */, | 1255 uint32 /* socket_id */, |
1274 int32_t /* bytes_to_read */) | 1256 int32_t /* bytes_to_read */) |
1275 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, | 1257 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, |
1276 uint32 /* socket_id */, | 1258 uint32 /* socket_id */, |
1277 std::string /* data */) | 1259 std::string /* data */) |
1278 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, | 1260 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, |
1279 uint32 /* socket_id */) | 1261 uint32 /* socket_id */) |
1280 | 1262 |
1281 // PPB_UDPSocket_Private. | 1263 // UDPSocketPrivate. |
1282 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, | 1264 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create) |
1283 int32 /* routing_id */, | 1265 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SetBoolSocketFeature, |
1284 uint32 /* plugin_dispatcher_id */, | |
1285 uint32 /* socket_id */) | |
1286 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SetBoolSocketFeature, | |
1287 int32 /* routing_id */, | |
1288 uint32 /* socket_id */, | |
1289 int32_t /* name */, | 1266 int32_t /* name */, |
1290 bool /* value */) | 1267 bool /* value */) |
1291 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, | 1268 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_Bind, |
1292 int32 /* routing_id */, | |
1293 uint32 /* socket_id */, | |
1294 PP_NetAddress_Private /* net_addr */) | 1269 PP_NetAddress_Private /* net_addr */) |
1295 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, | 1270 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_RecvFrom, |
1296 uint32 /* socket_id */, | |
1297 int32_t /* num_bytes */) | 1271 int32_t /* num_bytes */) |
1298 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo, | 1272 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SendTo, |
1299 int32 /* routing_id */, | |
1300 uint32 /* socket_id */, | |
1301 std::string /* data */, | 1273 std::string /* data */, |
1302 PP_NetAddress_Private /* net_addr */) | 1274 PP_NetAddress_Private /* net_addr */) |
1303 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, | 1275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Close) |
1304 uint32 /* socket_id */) | 1276 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_BindReply, |
| 1277 bool /* succeeded */, |
| 1278 PP_NetAddress_Private /* bound_addr */) |
| 1279 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_UDPSocketPrivate_RecvFromReply, |
| 1280 bool /* succeeded */, |
| 1281 std::string /* data */, |
| 1282 PP_NetAddress_Private /* remote_addr */) |
| 1283 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_SendToReply, |
| 1284 bool /* succeeded */, |
| 1285 int32_t /* bytes_written */) |
1305 | 1286 |
1306 // PPB_TCPServerSocket_Private. | 1287 // PPB_TCPServerSocket_Private. |
1307 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, | 1288 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, |
1308 int32 /* routing_id */, | 1289 int32 /* routing_id */, |
1309 uint32 /* plugin_dispatcher_id */, | 1290 uint32 /* plugin_dispatcher_id */, |
1310 PP_Resource /* socket_resource */, | 1291 PP_Resource /* socket_resource */, |
1311 PP_NetAddress_Private /* addr */, | 1292 PP_NetAddress_Private /* addr */, |
1312 int32_t /* backlog */) | 1293 int32_t /* backlog */) |
1313 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, | 1294 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, |
1314 int32 /* tcp_client_socket_routing_id */, | 1295 int32 /* tcp_client_socket_routing_id */, |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 std::vector<ppapi::HostResource> /* buffers */, | 1713 std::vector<ppapi::HostResource> /* buffers */, |
1733 uint32_t /* buffer_size */) | 1714 uint32_t /* buffer_size */) |
1734 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1715 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1735 uint32_t /* status */) | 1716 uint32_t /* status */) |
1736 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1717 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1737 uint32_t /* error */) | 1718 uint32_t /* error */) |
1738 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1719 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1739 uint32_t /* buffer */) | 1720 uint32_t /* buffer */) |
1740 | 1721 |
1741 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1722 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |