OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2013 The Chromium 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 |
| 6 [generate_thunk,thunk_include="ppapi/thunk/ppb_ext_crx_file_system_private_api.h
"] |
| 7 |
| 8 /** |
| 9 * This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface. |
| 10 */ |
| 11 label Chrome { |
| 12 M28 = 0.1 |
| 13 }; |
| 14 |
| 15 /* <code>PPB_Ext_CrxFileSystem_Private</code> interface */ |
| 16 interface PPB_Ext_CrxFileSystem_Private { |
| 17 /** |
| 18 * Open() opens the CRX file system for the current extension. It will fail |
| 19 * when called from non-extension context. |
| 20 * |
| 21 * @param[in] crxfs A <code>PP_Resource</code> corresponding to a |
| 22 * CrxFileSystem. |
| 23 * @param[out] file_system An output <code>PP_Resource</code> corresponding |
| 24 * to a PPB_FileSystem. |
| 25 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon |
| 26 * completion of Open. |
| 27 * |
| 28 * @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| 29 */ |
| 30 [singleton,api=PPB_Ext_CrxFileSystem_Private_API] |
| 31 int32_t Open([in] PP_Instance instance, |
| 32 [out] PP_Resource file_system, |
| 33 [in] PP_CompletionCallback callback); |
| 34 }; |
OLD | NEW |