| 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 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ | 5 #ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ |
| 6 #define PPAPI_C_PPB_FILE_SYSTEM_H_ | 6 #define PPAPI_C_PPB_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_file_info.h" | 9 #include "ppapi/c/pp_file_info.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
| 12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
| 13 #include "ppapi/c/pp_time.h" | 13 #include "ppapi/c/pp_time.h" |
| 14 | 14 |
| 15 /** | 15 /** |
| 16 * @file | 16 * @file |
| 17 * This file defines the API to create a file system associated with a file. | 17 * This file defines the API to create a file system associated with a file. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 struct PP_CompletionCallback; | 20 struct PP_CompletionCallback; |
| 21 | 21 |
| 22 #define PPB_FILESYSTEM_INTERFACE_0_7 "PPB_FileSystem;0.7" | 22 #define PPB_FILESYSTEM_INTERFACE_0_7 "PPB_FileSystem;0.7" |
| 23 #define PPB_FILESYSTEM_INTERFACE PPB_FILESYSTEM_INTERFACE_0_7 | 23 #define PPB_FILESYSTEM_INTERFACE_1_0 "PPB_FileSystem;1.0" |
| 24 #define PPB_FILESYSTEM_INTERFACE PPB_FILESYSTEM_INTERFACE_1_0 |
| 24 | 25 |
| 25 /** | 26 /** |
| 26 * @addtogroup Structs | 27 * @addtogroup Structs |
| 27 * @{ | 28 * @{ |
| 28 */ | 29 */ |
| 29 | 30 |
| 30 /** | 31 /** |
| 31 * The <code>PPB_FileSystem</code> struct identifies the file system type | 32 * The <code>PPB_FileSystem</code> struct identifies the file system type |
| 32 * associated with a file. | 33 * associated with a file. |
| 33 */ | 34 */ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 * is not a valid file system. It is valid to call this function even before | 87 * is not a valid file system. It is valid to call this function even before |
| 87 * Open() completes. | 88 * Open() completes. |
| 88 */ | 89 */ |
| 89 PP_FileSystemType (*GetType)(PP_Resource file_system); | 90 PP_FileSystemType (*GetType)(PP_Resource file_system); |
| 90 }; | 91 }; |
| 91 /** | 92 /** |
| 92 * @} | 93 * @} |
| 93 */ | 94 */ |
| 94 | 95 |
| 95 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ | 96 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ |
| OLD | NEW |