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

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

Issue 9235035: Add getter methods for sockaddr. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Fixing errors found by review system. 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) 2011 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_NetAddress_Private calls from the plugin. 5 # RPC methods used to implement PPB_NetAddress_Private calls from the plugin.
6 # See ppapi/c/private/ppb_net_address_private.h for interface details. 6 # See ppapi/c/private/ppb_net_address_private.h for interface details.
7 7
8 { 8 {
9 'name': 'PpbNetAddressPrivateRpc', 9 'name': 'PpbNetAddressPrivateRpc',
10 'rpcs': [ 10 'rpcs': [
(...skipping 26 matching lines...) Expand all
37 'outputs': [['dst_addr', 'char[]'], # PP_NetAddress_Private* 37 'outputs': [['dst_addr', 'char[]'], # PP_NetAddress_Private*
38 ['success', 'int32_t'], # PP_Bool 38 ['success', 'int32_t'], # PP_Bool
39 ] 39 ]
40 }, 40 },
41 {'name': 'PPB_NetAddress_Private_GetAnyAddress', 41 {'name': 'PPB_NetAddress_Private_GetAnyAddress',
42 'inputs': [['is_ipv6', 'int32_t'], # PP_Bool 42 'inputs': [['is_ipv6', 'int32_t'], # PP_Bool
43 ], 43 ],
44 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private* 44 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private*
45 ] 45 ]
46 }, 46 },
47 {'name': 'PPB_NetAddress_Private_GetFamily',
48 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private*
49 ],
50 'outputs': [['addr_family', 'int32_t'], # uint16_t
51 ]
52 },
53 {'name': 'PPB_NetAddress_Private_GetPort',
54 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private*
55 ],
56 'outputs': [['port', 'int32_t'], # uint16_t
57 ]
58 },
59 {'name': 'PPB_NetAddress_Private_GetAddress',
60 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private*
61 ],
62 'outputs': [['address', 'char[]'],
63 ]
64 },
47 ] 65 ]
48 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698