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

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

Issue 9015040: NaCl: Remove getpid() calls from the PPAPI proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 8 years, 11 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) 2010 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2010 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 # This file declares the RPC methods used to implement PPAPI calls from 5 # This file declares the RPC methods used to implement PPAPI calls from
6 # the browser to the plugin. It implements the interface in ppapi/c/ppp.h. 6 # the browser to the plugin. It implements the interface in ppapi/c/ppp.h.
7 { 7 {
8 'name': 'PppRpc', 8 'name': 'PppRpc',
9 'rpcs': [ 9 'rpcs': [
10 # PPP_Initialize is called once to initialize the plugin. 10 # PPP_Initialize is called once to initialize the plugin.
11 # It is effectively a class initializer for the plugin type. 11 # It is effectively a class initializer for the plugin type.
12 {'name': 'PPP_InitializeModule', 12 {'name': 'PPP_InitializeModule',
13 'inputs': [['pid', 'int32_t'], 13 'inputs': [['module', 'PP_Module'],
14 ['module', 'PP_Module'],
15 ['upcall_channel_desc', 'handle'], 14 ['upcall_channel_desc', 'handle'],
16 ['service_description', 'string'], 15 ['service_description', 'string'],
17 ], 16 ],
18 'outputs': [['nacl_pid', 'int32_t'], 17 'outputs': [['success', 'int32_t'],
19 ['success', 'int32_t'],
20 ] 18 ]
21 }, 19 },
22 # PPP_ShutdownModule stops the plugin. 20 # PPP_ShutdownModule stops the plugin.
23 {'name': 'PPP_ShutdownModule', 21 {'name': 'PPP_ShutdownModule',
24 'inputs': [], 22 'inputs': [],
25 'outputs': [] 23 'outputs': []
26 }, 24 },
27 # PPP_GetInterface checks whether the plugin exports a specified 25 # PPP_GetInterface checks whether the plugin exports a specified
28 # interface name. 26 # interface name.
29 {'name': 'PPP_GetInterface', 27 {'name': 'PPP_GetInterface',
30 'inputs': [['interface_name', 'string'], 28 'inputs': [['interface_name', 'string'],
31 ], 29 ],
32 'outputs': [['exports_interface_name', 'int32_t'], 30 'outputs': [['exports_interface_name', 'int32_t'],
33 ] 31 ]
34 }, 32 },
35 ] 33 ]
36 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698