Chromium Code Reviews| Index: ppapi/proxy/ppapi_messages.h |
| diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
| index 2872bd7b23ef9572d1f1222db6a8b1ad7358cda9..3c54e00862a6fc9a7bf571b623059e9495f346ac 100644 |
| --- a/ppapi/proxy/ppapi_messages.h |
| +++ b/ppapi/proxy/ppapi_messages.h |
| @@ -337,6 +337,8 @@ IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, |
| // PPB_TCPServerSocket_Private. |
| +// |socket_resource| should not be used as Resource in browser. The |
| +// only purpose of this argument is to be echoed back. |
| // |status| == PP_ERROR_NOSPACE means that the socket table is full |
| // and new socket can't be initialized. |
| // |status| == PP_ERROR_FAILED means that socket is correctly |
| @@ -345,12 +347,12 @@ IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK, |
| // needed) and Listen call succeeds. |
| IPC_MESSAGE_ROUTED4(PpapiMsg_PPBTCPServerSocket_ListenACK, |
| uint32 /* plugin_dispatcher_id */, |
| + PP_Resource /* socket_resource */, |
| uint32 /* real_socket_id */, |
|
yzshen1
2012/03/13 17:46:32
Please remove 'real' (several places in this file.
ygorshenin1
2012/03/14 11:36:18
Done.
|
| - uint32 /* temp_socket_id */, |
| int32_t /* status */) |
| IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK, |
| uint32 /* plugin_dispatcher_id */, |
| - uint32 /* real_server_socket_id */, |
| + uint32 /* real_socket_id */, |
| uint32 /* accepted_socket_id */, |
| PP_NetAddress_Private /* local_addr */, |
| PP_NetAddress_Private /* remote_addr */) |
| @@ -1247,10 +1249,11 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close, |
| IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBTCPServerSocket_Listen, |
| int32 /* routing_id */, |
| uint32 /* plugin_dispatcher_id */, |
| - uint32 /* temp_socket_id */, |
| + PP_Resource /* socket_resource */, |
| PP_NetAddress_Private /* addr */, |
| int32_t /* backlog */) |
| -IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept, |
| +IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Accept, |
| + int32 /* tcp_client_sockets_routing_id */, |
| uint32 /* real_socket_id */) |
| IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, |
| uint32 /* real_socket_id */) |
| @@ -1259,4 +1262,3 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy, |
| IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
| std::string /* result */) |
| #endif // !defined(OS_NACL) |
| - |