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.
7 * This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface.
13 /* <code>PPB_Ext_CrxFileSystem_Private</code> interface */
14 interface PPB_Ext_CrxFileSystem_Private
{
16 * Open() opens the CRX file system for the current extension. It will fail
17 * when called from non-extension context.
19 * @param[in] crxfs A <code>PP_Resource</code> corresponding to a
21 * @param[out] file_system An output <code>PP_Resource</code> corresponding
22 * to a PPB_FileSystem.
23 * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
26 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
28 int32_t Open
([in] PP_Instance instance
,
29 [out] PP_Resource file_system
,
30 [in] PP_CompletionCallback
callback);