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

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

Issue 8555002: Added NaCl proxy for TCP/UDP (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Deleted PPAPI NaCl tests. Created 9 years 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
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 #
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.
7
8 {
9 'name': 'PpbUDPSocketPrivateRpc',
10 'rpcs': [
11 {'name': 'PPB_UDPSocket_Private_Create',
12 'inputs': [['instance_id', 'PP_Instance'], # PP_Instance
13 ],
14 'outputs': [['resource', 'PP_Resource'], # PP_Resource
15 ]
16 },
17 {'name': 'PPB_UDPSocket_Private_IsUDPSocket',
18 'inputs': [['resource_id', 'PP_Resource'], # PP_Resource
19 ],
20 'outputs': [['is_udp_socket_private', 'int32_t'], # PP_Bool
21 ]
22 },
23 {'name': 'PPB_UDPSocket_Private_Bind',
24 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
25 ['addr', 'char[]'], # PP_NetAddress_Private*
26 ['callback_id', 'int32_t'], # PP_CompletionCallback
27 ],
28 'outputs': [['pp_error', 'int32_t'],
29 ]
30 },
31 {'name': 'PPB_UDPSocket_Private_RecvFrom',
32 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
33 ['num_bytes', 'int32_t'],
34 ['callback_id', 'int32_t'], # PP_CompletionCallback
35 ],
36 'outputs': [['buffer', 'char[]'], # char*
37 ['pp_error_or_bytes', 'int32_t'],
38 ]
39 },
40 {'name': 'PPB_UDPSocket_Private_GetRecvFromAddress',
41 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
42 ],
43 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private*
44 ['success', 'int32_t'], # PP_Bool
45 ]
46 },
47 {'name': 'PPB_UDPSocket_Private_SendTo',
48 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
49 ['buffer', 'char[]'], # const char*
50 ['num_bytes', 'int32_t'],
51 ['addr', 'char[]'], # PP_NetAddress_Private*
52 ['callback_id', 'int32_t'] # PP_CompletionCallback
53 ],
54 'outputs': [['pp_error_or_bytes', 'int32_t'],
55 ]
56 },
57 {'name': 'PPB_UDPSocket_Private_Close',
58 'inputs': [['udp_socket', 'PP_Resource'], # PP_Resource
59 ],
60 'outputs': []
61 },
62 ]
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698