Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_udp_socket_private.srpc

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix build error after rebase Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client 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 # RPC methods used to implement PPB_UDPSocket_Private calls from the plugin. 5 # RPC methods used to implement PPB_UDPSocket_Private calls from the plugin.
6 # See ppapi/c/private/ppb_udp_socket_private.h for interface details. 6 # See ppapi/c/private/ppb_udp_socket_private.h for interface details.
7 7
8 { 8 {
9 'name': 'PpbUDPSocketPrivateRpc', 9 'name': 'PpbUDPSocketPrivateRpc',
10 'rpcs': [ 10 'rpcs': [
11 {'name': 'PPB_UDPSocket_Private_Create', 11 {'name': 'PPB_UDPSocket_Private_Create',
12 'inputs': [['instance_id', 'PP_Instance'], # PP_Instance 12 'inputs': [['instance_id', 'PP_Instance'], # PP_Instance
13 ], 13 ],
14 'outputs': [['resource', 'PP_Resource'], # PP_Resource 14 'outputs': [['resource', 'PP_Resource'], # PP_Resource
15 ] 15 ]
16 }, 16 },
17 {'name': 'PPB_UDPSocket_Private_IsUDPSocket', 17 {'name': 'PPB_UDPSocket_Private_IsUDPSocket',
18 'inputs': [['resource_id', 'PP_Resource'], # PP_Resource 18 'inputs': [['resource_id', 'PP_Resource'], # PP_Resource
19 ], 19 ],
20 'outputs': [['is_udp_socket_private', 'int32_t'], # PP_Bool 20 'outputs': [['is_udp_socket_private', 'int32_t'], # PP_Bool
21 ] 21 ]
22 }, 22 },
23 {'name': 'PPB_UDPSocket_Private_Bind', 23 {'name': 'PPB_UDPSocket_Private_Bind',
24 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource 24 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
25 ['addr', 'char[]'], # PP_NetAddress_Private* 25 ['addr', 'char[]'], # PP_NetAddress_Private*
26 ['callback_id', 'int32_t'], # PP_CompletionCallback 26 ['callback_id', 'int32_t'], # PP_CompletionCallback
27 ], 27 ],
28 'outputs': [['pp_error', 'int32_t'], 28 'outputs': [['pp_error', 'int32_t'],
29 ] 29 ]
30 }, 30 },
31 {'name': 'PPB_UDPSocket_Private_GetBoundAddress',
32 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
33 ],
34 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private*
35 ['success', 'int32_t'], # PP_Bool
36 ]
37 },
31 {'name': 'PPB_UDPSocket_Private_RecvFrom', 38 {'name': 'PPB_UDPSocket_Private_RecvFrom',
32 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource 39 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
33 ['num_bytes', 'int32_t'], 40 ['num_bytes', 'int32_t'],
34 ['callback_id', 'int32_t'], # PP_CompletionCallback 41 ['callback_id', 'int32_t'], # PP_CompletionCallback
35 ], 42 ],
36 'outputs': [['buffer', 'char[]'], # char* 43 'outputs': [['buffer', 'char[]'], # char*
37 ['pp_error_or_bytes', 'int32_t'], 44 ['pp_error_or_bytes', 'int32_t'],
38 ] 45 ]
39 }, 46 },
40 {'name': 'PPB_UDPSocket_Private_GetRecvFromAddress', 47 {'name': 'PPB_UDPSocket_Private_GetRecvFromAddress',
(...skipping 13 matching lines...) Expand all
54 'outputs': [['pp_error_or_bytes', 'int32_t'], 61 'outputs': [['pp_error_or_bytes', 'int32_t'],
55 ] 62 ]
56 }, 63 },
57 {'name': 'PPB_UDPSocket_Private_Close', 64 {'name': 'PPB_UDPSocket_Private_Close',
58 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource 65 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
59 ], 66 ],
60 'outputs': [] 67 'outputs': []
61 }, 68 },
62 ] 69 ]
63 } 70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698