OLD | NEW |
(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_FileSystem calls from the plugin. |
| 6 # See ppapi/c/ppb_file_system.h for interface details. |
| 7 |
| 8 { |
| 9 'name': 'PpbFileSystemRpc', |
| 10 'rpcs': [ |
| 11 {'name': 'PPB_FileSystem_Create', |
| 12 'inputs': [['instance', 'PP_Instance'], |
| 13 ['file_system_type', 'int32_t'], # PP_FileSystemType |
| 14 ], |
| 15 'outputs': [['resource', 'PP_Resource'], |
| 16 ] |
| 17 }, |
| 18 {'name': 'PPB_FileSystem_IsFileSystem', |
| 19 'inputs': [['resource', 'PP_Resource'], |
| 20 ], |
| 21 'outputs': [['success', 'int32_t'], # PP_Bool |
| 22 ] |
| 23 }, |
| 24 {'name': 'PPB_FileSystem_Open', |
| 25 'inputs': [['file_system', 'PP_Resource'], |
| 26 ['expected_size', 'int64_t'], |
| 27 ['callback_id', 'int32_t'] |
| 28 ], |
| 29 'outputs': [['pp_error', 'int32_t'], |
| 30 ] |
| 31 }, |
| 32 {'name': 'PPB_FileSystem_GetType', |
| 33 'inputs': [['file_system', 'PP_Resource'], |
| 34 ], |
| 35 'outputs': [['type', 'int32_t'], # PP_FileSystemType |
| 36 ], |
| 37 } |
| 38 ] |
| 39 } |
| 40 |
OLD | NEW |