Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / ppapi / api / private / ppb_ext_crx_file_system_private.idl
blob5c46de72623951ce1cee24f2fff3213b8ae3d42a
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 */
6 /**
7 * This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface.
8 */
9 label Chrome {
10 M28 = 0.1
13 /* <code>PPB_Ext_CrxFileSystem_Private</code> interface */
14 interface PPB_Ext_CrxFileSystem_Private {
15 /**
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
20 * CrxFileSystem.
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
24 * completion of Open.
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);