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

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

Issue 9704080: HostResolver is exposed to Native Client. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. Created 8 years, 9 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 #
5 # RPC methods used to implement PPB_HostResolver_Private calls from
6 # the plugin. See ppapi/c/private/ppb_host_resolver_private.h for
7 # interface details.
8
9 {
10 'name': 'PpbHostResolverPrivateRpc',
11 'rpcs': [
12 {'name': 'PPB_HostResolver_Private_Create',
13 'inputs': [['instance', 'PP_Instance'],
14 ],
15 'outputs': [['resource', 'PP_Resource'],
16 ]
17 },
18 {'name': 'PPB_HostResolver_Private_IsHostResolver',
19 'inputs': [['resource', 'PP_Resource'],
20 ],
21 'outputs': [['is_host_resolver', 'int32_t'], # PP_Bool
22 ]
23 },
24 {'name': 'PPB_HostResolver_Private_Resolve',
25 'inputs': [['host_resolver', 'PP_Resource'],
26 ['host', 'string'], # const char*
27 ['port', 'int32_t'], # uint16_t
28 ['hint', 'char[]'], # const PP_HostResolver_Private_Hint*
29 ['callback_id', 'int32_t'] # PP_CompletionCallback
30 ],
31 'outputs': [['pp_error', 'int32_t'],
32 ]
33 },
34 {'name': 'PPB_HostResolver_Private_GetCanonicalName',
35 'inputs': [['host_resolver', 'PP_Resource'],
36 ],
37 'outputs': [['canonical_name', 'char[]'] # PP_Var
38 ]
39 },
40 {'name': 'PPB_HostResolver_Private_GetSize',
41 'inputs': [['host_resolver', 'PP_Resource'],
42 ],
43 'outputs': [['size', 'int32_t'], # uint32_t
44 ]
45 },
46 {'name': 'PPB_HostResolver_Private_GetNetAddress',
47 'inputs': [['host_resolver', 'PP_Resource'],
48 ['index', 'int32_t'], # uint32_t
49 ],
50 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private*
51 ['success', 'int32_t'], # PP_Bool
52 ]
53 }
54 ]
55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698