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 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1349 PP_NetAddress_Private /* net_addr */) | 1349 PP_NetAddress_Private /* net_addr */) |
1350 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, | 1350 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBUDPSocket_RecvFrom, |
1351 uint32 /* socket_id */, | 1351 uint32 /* socket_id */, |
1352 int32_t /* num_bytes */) | 1352 int32_t /* num_bytes */) |
1353 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo, | 1353 IPC_MESSAGE_CONTROL4(PpapiHostMsg_PPBUDPSocket_SendTo, |
1354 int32 /* routing_id */, | 1354 int32 /* routing_id */, |
1355 uint32 /* socket_id */, | 1355 uint32 /* socket_id */, |
1356 std::string /* data */, | 1356 std::string /* data */, |
1357 PP_NetAddress_Private /* net_addr */) | 1357 PP_NetAddress_Private /* net_addr */) |
1358 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, | 1358 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, |
1359 uint32 /* socket_id */) | 1359 uint32 /* socket_id */) |
dmichael (off chromium)
2012/12/12 23:23:38
^^^^ Do we still need these? If so... why?
ygorshenin1
2012/12/18 12:07:16
I kept old UDP IPC messages for support of in-proc
| |
1360 | 1360 |
1361 // UDPSocketPrivate. | |
1362 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Create) | |
1363 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SetBoolSocketFeature, | |
1364 int32_t /* name */, | |
1365 bool /* value */) | |
1366 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_Bind, | |
1367 PP_NetAddress_Private /* net_addr */) | |
1368 IPC_MESSAGE_CONTROL1(PpapiHostMsg_UDPSocketPrivate_RecvFrom, | |
1369 int32_t /* num_bytes */) | |
1370 IPC_MESSAGE_CONTROL2(PpapiHostMsg_UDPSocketPrivate_SendTo, | |
1371 std::string /* data */, | |
1372 PP_NetAddress_Private /* net_addr */) | |
1373 IPC_MESSAGE_CONTROL0(PpapiHostMsg_UDPSocketPrivate_Close) | |
1374 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_BindReply, | |
1375 bool /* succeeded */, | |
1376 PP_NetAddress_Private /* bound_addr */) | |
1377 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_UDPSocketPrivate_RecvFromReply, | |
1378 bool /* succeeded */, | |
1379 std::string /* data */, | |
1380 PP_NetAddress_Private /* remote_addr */) | |
1381 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_UDPSocketPrivate_SendToReply, | |
1382 bool /* succeeded */, | |
1383 int32_t /* bytes_written */) | |
1384 | |
1361 // PPB_TCPServerSocket_Private. | 1385 // PPB_TCPServerSocket_Private. |
1362 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, | 1386 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, |
1363 int32 /* routing_id */, | 1387 int32 /* routing_id */, |
1364 uint32 /* plugin_dispatcher_id */, | 1388 uint32 /* plugin_dispatcher_id */, |
1365 PP_Resource /* socket_resource */, | 1389 PP_Resource /* socket_resource */, |
1366 PP_NetAddress_Private /* addr */, | 1390 PP_NetAddress_Private /* addr */, |
1367 int32_t /* backlog */) | 1391 int32_t /* backlog */) |
1368 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, | 1392 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, |
1369 int32 /* tcp_client_socket_routing_id */, | 1393 int32 /* tcp_client_socket_routing_id */, |
1370 uint32 /* server_socket_id */) | 1394 uint32 /* server_socket_id */) |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1723 std::vector<ppapi::HostResource> /* buffers */, | 1747 std::vector<ppapi::HostResource> /* buffers */, |
1724 uint32_t /* buffer_size */) | 1748 uint32_t /* buffer_size */) |
1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1749 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1726 uint32_t /* status */) | 1750 uint32_t /* status */) |
1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1751 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1728 uint32_t /* error */) | 1752 uint32_t /* error */) |
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1753 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1730 uint32_t /* buffer */) | 1754 uint32_t /* buffer */) |
1731 | 1755 |
1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1756 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |