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

Side by Side Diff: ppapi/api/ppb_file_system.idl

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/api/pp_file_info.idl ('k') | ppapi/api/private/ppb_ext_crx_file_system_private.idl » ('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 /** 6 /**
7 * This file defines the API to create a file system associated with a file. 7 * This file defines the API to create a file system associated with a file.
8 */ 8 */
9 9
10 [generate_thunk] 10 [generate_thunk]
11 11
12 label Chrome { 12 label Chrome {
13 M14 = 1.0 13 M14 = 1.0
14 }; 14 };
15 15
16 /** 16 /**
17 * The <code>PPB_FileSystem</code> struct identifies the file system type 17 * The <code>PPB_FileSystem</code> struct identifies the file system type
18 * associated with a file. 18 * associated with a file.
19 */ 19 */
20 interface PPB_FileSystem { 20 interface PPB_FileSystem {
21 /** Create() creates a file system object of the given type. 21 /** Create() creates a file system object of the given type.
22 * 22 *
23 * @param[in] instance A <code>PP_Instance</code> identifying the instance 23 * @param[in] instance A <code>PP_Instance</code> identifying the instance
24 * with the file. 24 * with the file.
25 * @param[in] type A file system type as defined by 25 * @param[in] type A file system type as defined by
26 * <code>PP_FileSystemType</code> enum. 26 * <code>PP_FileSystemType</code> enum (except PP_FILESYSTEMTYPE_ISOLATED,
27 * 27 * which is currently not supported).
28 * @return A <code>PP_Resource</code> corresponding to a file system if 28 * @return A <code>PP_Resource</code> corresponding to a file system if
29 * successful. 29 * successful.
30 */ 30 */
31 PP_Resource Create([in] PP_Instance instance, [in] PP_FileSystemType type); 31 PP_Resource Create([in] PP_Instance instance, [in] PP_FileSystemType type);
32 32
33 /** 33 /**
34 * IsFileSystem() determines if the provided resource is a file system. 34 * IsFileSystem() determines if the provided resource is a file system.
35 * 35 *
36 * @param[in] resource A <code>PP_Resource</code> corresponding to a file 36 * @param[in] resource A <code>PP_Resource</code> corresponding to a file
37 * system. 37 * system.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 * 73 *
74 * @return A <code>PP_FileSystemType</code> with the file system type if 74 * @return A <code>PP_FileSystemType</code> with the file system type if
75 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource 75 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource
76 * is not a valid file system. It is valid to call this function even before 76 * is not a valid file system. It is valid to call this function even before
77 * Open() completes. 77 * Open() completes.
78 */ 78 */
79 [on_failure=PP_FILESYSTEMTYPE_INVALID] 79 [on_failure=PP_FILESYSTEMTYPE_INVALID]
80 PP_FileSystemType GetType([in] PP_Resource file_system); 80 PP_FileSystemType GetType([in] PP_Resource file_system);
81 }; 81 };
82 82
OLDNEW
« no previous file with comments | « ppapi/api/pp_file_info.idl ('k') | ppapi/api/private/ppb_ext_crx_file_system_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698