| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 label Chrome { | 10 label Chrome { |
| 11 M13 = 0.7, | |
| 12 M14 = 1.0 | 11 M14 = 1.0 |
| 13 }; | 12 }; |
| 14 | 13 |
| 15 /** | 14 /** |
| 16 * The <code>PPB_FileSystem</code> struct identifies the file system type | 15 * The <code>PPB_FileSystem</code> struct identifies the file system type |
| 17 * associated with a file. | 16 * associated with a file. |
| 18 */ | 17 */ |
| 19 [version=0.7] | |
| 20 interface PPB_FileSystem { | 18 interface PPB_FileSystem { |
| 21 /** Create() creates a file system object of the given type. | 19 /** Create() creates a file system object of the given type. |
| 22 * | 20 * |
| 23 * @param[in] instance A <code>PP_Instance</code> indentifying the instance | 21 * @param[in] instance A <code>PP_Instance</code> indentifying the instance |
| 24 * with the file. | 22 * with the file. |
| 25 * @param[in] type A file system type as defined by | 23 * @param[in] type A file system type as defined by |
| 26 * <code>PP_FileSystemType</code> enum. | 24 * <code>PP_FileSystemType</code> enum. |
| 27 * | 25 * |
| 28 * @return A <code>PP_Resource</code> corresponding to a file system if | 26 * @return A <code>PP_Resource</code> corresponding to a file system if |
| 29 * successful. | 27 * successful. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 * system. | 66 * system. |
| 69 * | 67 * |
| 70 * @return A <code>PP_FileSystemType</code> with the file system type if | 68 * @return A <code>PP_FileSystemType</code> with the file system type if |
| 71 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource | 69 * valid or <code>PP_FILESYSTEMTYPE_INVALID</code> if the provided resource |
| 72 * is not a valid file system. It is valid to call this function even before | 70 * is not a valid file system. It is valid to call this function even before |
| 73 * Open() completes. | 71 * Open() completes. |
| 74 */ | 72 */ |
| 75 PP_FileSystemType GetType([in] PP_Resource file_system); | 73 PP_FileSystemType GetType([in] PP_Resource file_system); |
| 76 }; | 74 }; |
| 77 | 75 |
| OLD | NEW |