| 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_1_0 "PPB_FileSystem;1.0" | 23 #define PPB_FILESYSTEM_INTERFACE PPB_FILESYSTEM_INTERFACE_0_7 |
| 24 #define PPB_FILESYSTEM_INTERFACE PPB_FILESYSTEM_INTERFACE_1_0 | |
| 25 | 24 |
| 26 /** | 25 /** |
| 27 * @addtogroup Structs | 26 * @addtogroup Structs |
| 28 * @{ | 27 * @{ |
| 29 */ | 28 */ |
| 30 | 29 |
| 31 /** | 30 /** |
| 32 * The <code>PPB_FileSystem</code> struct identifies the file system type | 31 * The <code>PPB_FileSystem</code> struct identifies the file system type |
| 33 * associated with a file. | 32 * associated with a file. |
| 34 */ | 33 */ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 * is not a valid file system. It is valid to call this function even before | 86 * is not a valid file system. It is valid to call this function even before |
| 88 * Open() completes. | 87 * Open() completes. |
| 89 */ | 88 */ |
| 90 PP_FileSystemType (*GetType)(PP_Resource file_system); | 89 PP_FileSystemType (*GetType)(PP_Resource file_system); |
| 91 }; | 90 }; |
| 92 /** | 91 /** |
| 93 * @} | 92 * @} |
| 94 */ | 93 */ |
| 95 | 94 |
| 96 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ | 95 #endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ |
| OLD | NEW |