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

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

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 12 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': [['pid', 'int32_t'],
14 ['module', 'int64_t'], 14 ['module', 'PP_Module'],
15 ['upcall_channel_desc', 'handle'], 15 ['upcall_channel_desc', 'handle'],
16 ['service_description', 'string'], 16 ['service_description', 'string'],
17 ], 17 ],
18 'outputs': [['nacl_pid', 'int32_t'], 18 'outputs': [['nacl_pid', 'int32_t'],
19 ['success', 'int32_t'], 19 ['success', 'int32_t'],
20 ] 20 ]
21 }, 21 },
22 # PPP_ShutdownModule stops the plugin. 22 # PPP_ShutdownModule stops the plugin.
23 {'name': 'PPP_ShutdownModule', 23 {'name': 'PPP_ShutdownModule',
24 'inputs': [], 24 'inputs': [],
25 'outputs': [] 25 'outputs': []
26 }, 26 },
27 # PPP_GetInterface checks whether the plugin exports a specified 27 # PPP_GetInterface checks whether the plugin exports a specified
28 # interface name. 28 # interface name.
29 {'name': 'PPP_GetInterface', 29 {'name': 'PPP_GetInterface',
30 'inputs': [['interface_name', 'string'], 30 'inputs': [['interface_name', 'string'],
31 ], 31 ],
32 'outputs': [['exports_interface_name', 'int32_t'], 32 'outputs': [['exports_interface_name', 'int32_t'],
33 ] 33 ]
34 }, 34 },
35 ] 35 ]
36 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698