Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Side by Side Diff: ppapi/c/ppb_file_system.h

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/c/pp_file_info.h ('k') | ppapi/c/private/ppb_ext_crx_file_system_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* From ppb_file_system.idl modified Mon May 21 15:19:32 2012. */ 6 /* From ppb_file_system.idl modified Thu May 2 16:44:38 2013. */
7 7
8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ 8 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_
9 #define PPAPI_C_PPB_FILE_SYSTEM_H_ 9 #define PPAPI_C_PPB_FILE_SYSTEM_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_file_info.h" 13 #include "ppapi/c/pp_file_info.h"
14 #include "ppapi/c/pp_instance.h" 14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h" 15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
(...skipping 15 matching lines...) Expand all
32 /** 32 /**
33 * The <code>PPB_FileSystem</code> struct identifies the file system type 33 * The <code>PPB_FileSystem</code> struct identifies the file system type
34 * associated with a file. 34 * associated with a file.
35 */ 35 */
36 struct PPB_FileSystem_1_0 { 36 struct PPB_FileSystem_1_0 {
37 /** Create() creates a file system object of the given type. 37 /** Create() creates a file system object of the given type.
38 * 38 *
39 * @param[in] instance A <code>PP_Instance</code> identifying the instance 39 * @param[in] instance A <code>PP_Instance</code> identifying the instance
40 * with the file. 40 * with the file.
41 * @param[in] type A file system type as defined by 41 * @param[in] type A file system type as defined by
42 * <code>PP_FileSystemType</code> enum. 42 * <code>PP_FileSystemType</code> enum (except PP_FILESYSTEMTYPE_ISOLATED,
43 * 43 * which is currently not supported).
44 * @return A <code>PP_Resource</code> corresponding to a file system if 44 * @return A <code>PP_Resource</code> corresponding to a file system if
45 * successful. 45 * successful.
46 */ 46 */
47 PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type); 47 PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type);
48 /** 48 /**
49 * IsFileSystem() determines if the provided resource is a file system. 49 * IsFileSystem() determines if the provided resource is a file system.
50 * 50 *
51 * @param[in] resource A <code>PP_Resource</code> corresponding to a file 51 * @param[in] resource A <code>PP_Resource</code> corresponding to a file
52 * system. 52 * system.
53 * 53 *
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 PP_FileSystemType (*GetType)(PP_Resource file_system); 94 PP_FileSystemType (*GetType)(PP_Resource file_system);
95 }; 95 };
96 96
97 typedef struct PPB_FileSystem_1_0 PPB_FileSystem; 97 typedef struct PPB_FileSystem_1_0 PPB_FileSystem;
98 /** 98 /**
99 * @} 99 * @}
100 */ 100 */
101 101
102 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ 102 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */
103 103
OLDNEW
« no previous file with comments | « ppapi/c/pp_file_info.h ('k') | ppapi/c/private/ppb_ext_crx_file_system_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698