| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 std::string /* data */, | 344 std::string /* data */, |
| 345 PP_NetAddress_Private /* remote_addr */) | 345 PP_NetAddress_Private /* remote_addr */) |
| 346 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, | 346 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, |
| 347 uint32 /* plugin_dispatcher_id */, | 347 uint32 /* plugin_dispatcher_id */, |
| 348 uint32 /* socket_id */, | 348 uint32 /* socket_id */, |
| 349 bool /* succeeded */, | 349 bool /* succeeded */, |
| 350 int32_t /* bytes_written */) | 350 int32_t /* bytes_written */) |
| 351 | 351 |
| 352 // PPB_TCPServerSocket_Private. | 352 // PPB_TCPServerSocket_Private. |
| 353 | 353 |
| 354 // |socket_resource| should not be used as Resource in browser. The |
| 355 // only purpose of this argument is to be echoed back. |
| 354 // |status| == PP_ERROR_NOSPACE means that the socket table is full | 356 // |status| == PP_ERROR_NOSPACE means that the socket table is full |
| 355 // and new socket can't be initialized. | 357 // and new socket can't be initialized. |
| 356 // |status| == PP_ERROR_FAILED means that socket is correctly | 358 // |status| == PP_ERROR_FAILED means that socket is correctly |
| 357 // initialized (if needed) but Listen call is failed. | 359 // initialized (if needed) but Listen call is failed. |
| 358 // |status| == PP_OK means that socket is correctly initialized (if | 360 // |status| == PP_OK means that socket is correctly initialized (if |
| 359 // needed) and Listen call succeeds. | 361 // needed) and Listen call succeeds. |
| 360 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPServerSocket_ListenACK, | 362 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPServerSocket_ListenACK, |
| 361 uint32 /* plugin_dispatcher_id */, | 363 uint32 /* plugin_dispatcher_id */, |
| 362 uint32 /* real_socket_id */, | 364 PP_Resource /* socket_resource */, |
| 363 uint32 /* temp_socket_id */, | 365 uint32 /* socket_id */, |
| 364 int32_t /* status */) | 366 int32_t /* status */) |
| 365 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, | 367 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, |
| 366 uint32 /* plugin_dispatcher_id */, | 368 uint32 /* plugin_dispatcher_id */, |
| 367 uint32 /* real_server_socket_id */, | 369 uint32 /* server_socket_id */, |
| 368 uint32 /* accepted_socket_id */, | 370 uint32 /* accepted_socket_id */, |
| 369 PP_NetAddress_Private /* local_addr */, | 371 PP_NetAddress_Private /* local_addr */, |
| 370 PP_NetAddress_Private /* remote_addr */) | 372 PP_NetAddress_Private /* remote_addr */) |
| 371 | 373 |
| 372 // PPB_HostResolver_Private. | 374 // PPB_HostResolver_Private. |
| 373 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBHostResolver_ResolveACK, | 375 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBHostResolver_ResolveACK, |
| 374 uint32 /* plugin_dispatcher_id */, | 376 uint32 /* plugin_dispatcher_id */, |
| 375 uint32 /* host_resolver_id */, | 377 uint32 /* host_resolver_id */, |
| 376 bool /* succeeded */, | 378 bool /* succeeded */, |
| 377 std::string /* canonical_name */, | 379 std::string /* canonical_name */, |
| (...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1270 uint32 /* socket_id */, | 1272 uint32 /* socket_id */, |
| 1271 std::string /* data */, | 1273 std::string /* data */, |
| 1272 PP_NetAddress_Private /* net_addr */) | 1274 PP_NetAddress_Private /* net_addr */) |
| 1273 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, | 1275 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, |
| 1274 uint32 /* socket_id */) | 1276 uint32 /* socket_id */) |
| 1275 | 1277 |
| 1276 // PPB_TCPServerSocket_Private. | 1278 // PPB_TCPServerSocket_Private. |
| 1277 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, | 1279 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, |
| 1278 int32 /* routing_id */, | 1280 int32 /* routing_id */, |
| 1279 uint32 /* plugin_dispatcher_id */, | 1281 uint32 /* plugin_dispatcher_id */, |
| 1280 uint32 /* temp_socket_id */, | 1282 PP_Resource /* socket_resource */, |
| 1281 PP_NetAddress_Private /* addr */, | 1283 PP_NetAddress_Private /* addr */, |
| 1282 int32_t /* backlog */) | 1284 int32_t /* backlog */) |
| 1283 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, | 1285 IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, |
| 1284 uint32 /* real_socket_id */) | 1286 int32 /* tcp_client_socket_routing_id */, |
| 1287 uint32 /* server_socket_id */) |
| 1285 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, | 1288 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, |
| 1286 uint32 /* real_socket_id */) | 1289 uint32 /* socket_id */) |
| 1287 | 1290 |
| 1288 // PPB_Font. | 1291 // PPB_Font. |
| 1289 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1292 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| 1290 std::string /* result */) | 1293 std::string /* result */) |
| 1291 #endif // !defined(OS_NACL) | 1294 #endif // !defined(OS_NACL) |
| OLD | NEW |