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

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

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
(Empty)
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
3 # found in the LICENSE file.
4
5 # RPC methods used to implement PPB_FileIO calls from the plugin.
6 # See ppapi/c/ppb_file_ref.h for interface details.
7
8 {
9 'name': 'PpbFileRefRpc',
10 'rpcs': [
11 {'name': 'PPB_FileRef_Create',
12 'inputs': [['file_system', 'PP_Resource'],
13 ['path', 'char[]'],
14 ],
15 'outputs': [['resource', 'PP_Resource'],
16 ]
17 },
18 {'name': 'PPB_FileRef_IsFileRef',
19 'inputs': [['resource', 'PP_Resource'],
20 ],
21 'outputs': [['success', 'int32_t'], # PP_Bool
22 ]
23 },
24 {'name': 'PPB_FileRef_GetFileSystemType',
25 'inputs': [['file_ref', 'PP_Resource'],
26 ],
27 'outputs': [['file_system_type', 'int32_t'], # PP_FileSytemType
28 ]
29 },
30 {'name': 'PPB_FileRef_GetName',
31 'inputs': [['file_ref', 'PP_Resource'],
32 ],
33 'outputs': [['name', 'char[]'], # PP_Var
34 ]
35 },
36 {'name': 'PPB_FileRef_GetPath',
37 'inputs': [['file_ref', 'PP_Resource'],
38 ],
39 'outputs': [['path', 'char[]'], # PP_Var
40 ]
41 },
42 {'name': 'PPB_FileRef_GetParent',
43 'inputs': [['file_ref', 'PP_Resource'],
44 ],
45 'outputs': [['parent', 'PP_Resource'],
46 ]
47 },
48 {'name': 'PPB_FileRef_MakeDirectory',
49 'inputs': [['directory_ref', 'PP_Resource'],
50 ['make_ancestors', 'int32_t'], # PP_Bool
51 ['callback_id', 'int32_t'],
52 ],
53 'outputs': [['pp_error', 'int32_t'],
54 ]
55 },
56 {'name': 'PPB_FileRef_Touch',
57 'inputs': [['file_ref', 'PP_Resource'],
58 ['last_access_time', 'double'], # PP_Time
59 ['last_modified_time', 'double'], # PP_Time
60 ['callback_id', 'int32_t'],
61 ],
62 'outputs': [['pp_error', 'int32_t'],
63 ]
64 },
65 {'name': 'PPB_FileRef_Delete',
66 'inputs': [['file_ref', 'PP_Resource'],
67 ['callback_id', 'int32_t'],
68 ],
69 'outputs': [['pp_error', 'int32_t'],
70 ]
71 },
72 {'name': 'PPB_FileRef_Rename',
73 'inputs': [['file_ref', 'PP_Resource'],
74 ['new_file_ref', 'PP_Resource'],
75 ['callback_id', 'int32_t'],
76 ],
77 'outputs': [['pp_error', 'int32_t'],
78 ]
79 }
80 ]
81 }
82
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698