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

Side by Side Diff: src/shared/ppapi_proxy/ppb_core.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 10 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 | 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 PPB_Core calls from 5 # This file declares the RPC methods used to implement PPB_Core calls from
6 # the plugin. The functions are described in ppapi/c/ppb_core.h. 6 # the plugin. The functions are described in ppapi/c/ppb_core.h.
7 { 7 {
8 'name': 'PpbCoreRpc', 8 'name': 'PpbCoreRpc',
9 'rpcs': [ 9 'rpcs': [
10 # Implements calls to increment the reference count on a resource. 10 # Implements calls to increment the reference count on a resource.
11 {'name': 'PPB_Core_AddRefResource', 11 {'name': 'PPB_Core_AddRefResource',
12 'inputs': [['resource', 'int64_t'], 12 'inputs': [['resource', 'PP_Resource'],
13 ], 13 ],
14 'outputs': [] 14 'outputs': []
15 }, 15 },
16 # Implements calls to decrement the reference count on a resource. 16 # Implements calls to decrement the reference count on a resource.
17 {'name': 'PPB_Core_ReleaseResource', 17 {'name': 'PPB_Core_ReleaseResource',
18 'inputs': [['resource', 'int64_t'], 18 'inputs': [['resource', 'PP_Resource'],
19 ], 19 ],
20 'outputs': [] 20 'outputs': []
21 }, 21 },
22 # Implements calls to decrement more than one reference count on a 22 # Implements calls to decrement more than one reference count on a
23 # resource. This does not exist in PPB_Core, we implement it as an 23 # resource. This does not exist in PPB_Core, we implement it as an
24 # optimization. 24 # optimization.
25 {'name': 'ReleaseResourceMultipleTimes', 25 {'name': 'ReleaseResourceMultipleTimes',
26 'inputs': [['resource', 'int64_t'], 26 'inputs': [['resource', 'PP_Resource'],
27 ['count', 'int32_t'] 27 ['count', 'int32_t']
28 ], 28 ],
29 'outputs': [] 29 'outputs': []
30 }, 30 },
31 # MemAlloc and MemFree do not require RPCs to the browser. 31 # MemAlloc and MemFree do not require RPCs to the browser.
32 # Implements calls to get the time. 32 # Implements calls to get the time.
33 {'name': 'PPB_Core_GetTime', 33 {'name': 'PPB_Core_GetTime',
34 'inputs': [], 34 'inputs': [],
35 'outputs': [['time', 'double'], 35 'outputs': [['time', 'double'],
36 ] 36 ]
37 }, 37 },
38 # CallOnMainThread is done on a different channel. 38 # CallOnMainThread is done on a different channel.
39 ] 39 ]
40 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698