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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 uint32 /* plugin_dispatcher_id */, | 659 uint32 /* plugin_dispatcher_id */, |
660 uint32 /* socket_id */, | 660 uint32 /* socket_id */, |
661 bool /* succeeded */, | 661 bool /* succeeded */, |
662 std::string /* data */) | 662 std::string /* data */) |
663 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, | 663 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPSocket_WriteACK, |
664 uint32 /* plugin_dispatcher_id */, | 664 uint32 /* plugin_dispatcher_id */, |
665 uint32 /* socket_id */, | 665 uint32 /* socket_id */, |
666 bool /* succeeded */, | 666 bool /* succeeded */, |
667 int32_t /* bytes_written */) | 667 int32_t /* bytes_written */) |
668 | 668 |
669 // PPB_UDPSocket_Private. | |
670 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_BindACK, | |
671 uint32 /* plugin_dispatcher_id */, | |
672 uint32 /* socket_id */, | |
673 bool /* succeeded */, | |
674 PP_NetAddress_Private /* bound_addr */) | |
675 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBUDPSocket_RecvFromACK, | |
676 uint32 /* plugin_dispatcher_id */, | |
677 uint32 /* socket_id */, | |
678 bool /* succeeded */, | |
679 std::string /* data */, | |
680 PP_NetAddress_Private /* remote_addr */) | |
681 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, | |
682 uint32 /* plugin_dispatcher_id */, | |
683 uint32 /* socket_id */, | |
684 bool /* succeeded */, | |
685 int32_t /* bytes_written */) | |
686 | |
687 // PPB_URLLoader_Trusted | 669 // PPB_URLLoader_Trusted |
688 IPC_MESSAGE_ROUTED1( | 670 IPC_MESSAGE_ROUTED1( |
689 PpapiMsg_PPBURLLoader_UpdateProgress, | 671 PpapiMsg_PPBURLLoader_UpdateProgress, |
690 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) | 672 ppapi::proxy::PPBURLLoader_UpdateProgress_Params /* params */) |
691 | 673 |
692 // PPB_TCPServerSocket_Private. | 674 // PPB_TCPServerSocket_Private. |
693 | 675 |
694 // |socket_resource| should not be used as Resource in browser. The | 676 // |socket_resource| should not be used as Resource in browser. The |
695 // only purpose of this argument is to be echoed back. | 677 // only purpose of this argument is to be echoed back. |
696 // |status| == PP_ERROR_NOSPACE means that the socket table is full | 678 // |status| == PP_ERROR_NOSPACE means that the socket table is full |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 std::vector<std::vector<char> > /* untrusted_certs */) | 1201 std::vector<std::vector<char> > /* untrusted_certs */) |
1220 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, | 1202 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Read, |
1221 uint32 /* socket_id */, | 1203 uint32 /* socket_id */, |
1222 int32_t /* bytes_to_read */) | 1204 int32_t /* bytes_to_read */) |
1223 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, | 1205 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPSocket_Write, |
1224 uint32 /* socket_id */, | 1206 uint32 /* socket_id */, |
1225 std::string /* data */) | 1207 std::string /* data */) |
1226 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, | 1208 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPSocket_Disconnect, |
1227 uint32 /* socket_id */) | 1209 uint32 /* socket_id */) |
1228 | 1210 |
1229 // PPB_UDPSocket_Private. | 1211 // UDPSocketPrivate. |
1230 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBUDPSocket_Create, | 1212 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create) |
1231 int32 /* routing_id */, | 1213 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SetBoolSocketFeature, |
1232 uint32 /* plugin_dispatcher_id */, | |
1233 uint32 /* socket_id */) | |
1234 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SetBoolSocketFeature, | |
1235 int32 /* routing_id */, | |
1236 uint32 /* socket_id */, | |
1237 int32_t /* name */, | 1214 int32_t /* name */, |
1238 bool /* value */) | 1215 bool /* value */) |
1239 IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_Bind, | 1216 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_Bind, |
1240 int32 /* routing_id */, | |
1241 uint32 /* socket_id */, | |
1242 PP_NetAddress_Private /* net_addr */) | 1217 PP_NetAddress_Private /* net_addr */) |
1243 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, | 1218 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_RecvFrom, |
1244 uint32 /* socket_id */, | |
1245 int32_t /* num_bytes */) | 1219 int32_t /* num_bytes */) |
1246 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo, | 1220 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SendTo, |
1247 int32 /* routing_id */, | |
1248 uint32 /* socket_id */, | |
1249 std::string /* data */, | 1221 std::string /* data */, |
1250 PP_NetAddress_Private /* net_addr */) | 1222 PP_NetAddress_Private /* net_addr */) |
1251 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, | 1223 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Close) |
1252 uint32 /* socket_id */) | 1224 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_BindReply, |
| 1225 bool /* succeeded */, |
| 1226 PP_NetAddress_Private /* bound_addr */) |
| 1227 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_UDPSocketPrivate_RecvFromReply, |
| 1228 bool /* succeeded */, |
| 1229 std::string /* data */, |
| 1230 PP_NetAddress_Private /* remote_addr */) |
| 1231 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_SendToReply, |
| 1232 bool /* succeeded */, |
| 1233 int32_t /* bytes_written */) |
1253 | 1234 |
1254 // PPB_TCPServerSocket_Private. | 1235 // PPB_TCPServerSocket_Private. |
1255 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, | 1236 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, |
1256 int32 /* routing_id */, | 1237 int32 /* routing_id */, |
1257 uint32 /* plugin_dispatcher_id */, | 1238 uint32 /* plugin_dispatcher_id */, |
1258 PP_Resource /* socket_resource */, | 1239 PP_Resource /* socket_resource */, |
1259 PP_NetAddress_Private /* addr */, | 1240 PP_NetAddress_Private /* addr */, |
1260 int32_t /* backlog */) | 1241 int32_t /* backlog */) |
1261 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, | 1242 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, |
1262 int32 /* tcp_client_socket_routing_id */, | 1243 int32 /* tcp_client_socket_routing_id */, |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 std::vector<ppapi::HostResource> /* buffers */, | 1693 std::vector<ppapi::HostResource> /* buffers */, |
1713 uint32_t /* buffer_size */) | 1694 uint32_t /* buffer_size */) |
1714 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1695 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1715 uint32_t /* status */) | 1696 uint32_t /* status */) |
1716 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1697 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1717 uint32_t /* error */) | 1698 uint32_t /* error */) |
1718 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1699 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1719 uint32_t /* buffer */) | 1700 uint32_t /* buffer */) |
1720 | 1701 |
1721 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1702 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |