Pepper_47_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
private
ppb_ext_crx_file_system_private.h
Go to the documentation of this file.
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
/* From private/ppb_ext_crx_file_system_private.idl,
7
* modified Thu Oct 20 13:57:04 2016.
8
*/
9
10
#ifndef PPAPI_C_PRIVATE_PPB_EXT_CRX_FILE_SYSTEM_PRIVATE_H_
11
#define PPAPI_C_PRIVATE_PPB_EXT_CRX_FILE_SYSTEM_PRIVATE_H_
12
13
#include "
ppapi/c/pp_completion_callback.h
"
14
#include "
ppapi/c/pp_instance.h
"
15
#include "
ppapi/c/pp_macros.h
"
16
#include "
ppapi/c/pp_resource.h
"
17
#include "
ppapi/c/pp_stdint.h
"
18
19
#define PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1 \
20
"PPB_Ext_CrxFileSystem_Private;0.1"
21
#define PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE \
22
PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1
23
24
/**
25
* @file
26
* This file contains the <code>PPB_Ext_CrxFileSystem_Private</code> interface.
27
*/
28
29
30
/**
31
* @addtogroup Interfaces
32
* @{
33
*/
34
/* <code>PPB_Ext_CrxFileSystem_Private</code> interface */
35
struct
PPB_Ext_CrxFileSystem_Private_0_1
{
36
/**
37
* Open() opens the CRX file system for the current extension. It will fail
38
* when called from non-extension context.
39
*
40
* @param[in] crxfs A <code>PP_Resource</code> corresponding to a
41
* CrxFileSystem.
42
* @param[out] file_system An output <code>PP_Resource</code> corresponding
43
* to a PPB_FileSystem.
44
* @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
45
* completion of Open.
46
*
47
* @return An int32_t containing an error code from <code>pp_errors.h</code>.
48
*/
49
int32_t (*
Open
)(
PP_Instance
instance,
50
PP_Resource
* file_system,
51
struct
PP_CompletionCallback
callback);
52
};
53
54
typedef
struct
PPB_Ext_CrxFileSystem_Private_0_1
PPB_Ext_CrxFileSystem_Private
;
55
/**
56
* @}
57
*/
58
59
#endif
/* PPAPI_C_PRIVATE_PPB_EXT_CRX_FILE_SYSTEM_PRIVATE_H_ */
60
pp_macros.h
PPB_Ext_CrxFileSystem_Private_0_1
Definition:
ppb_ext_crx_file_system_private.h:35
pp_instance.h
PP_Resource
int32_t PP_Resource
Definition:
pp_resource.h:40
pp_completion_callback.h
pp_resource.h
pp_stdint.h
PP_Instance
int32_t PP_Instance
Definition:
pp_instance.h:34
PP_CompletionCallback
Definition:
pp_completion_callback.h:139
PPB_Ext_CrxFileSystem_Private_0_1::Open
int32_t(* Open)(PP_Instance instance, PP_Resource *file_system, struct PP_CompletionCallback callback)
Definition:
ppb_ext_crx_file_system_private.h:49
Generated on Wed Apr 5 2017 11:09:17 for Pepper_47_C_interfaces by
1.8.6