| 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_REF_H_ | 5 #ifndef PPAPI_C_PPB_FILE_REF_H_ |
| 6 #define PPAPI_C_PPB_FILE_REF_H_ | 6 #define PPAPI_C_PPB_FILE_REF_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_var.h" | 12 #include "ppapi/c/pp_var.h" |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * @file | 15 * @file |
| 16 * This file defines the API to create a file reference or "weak pointer" to a | 16 * This file defines the API to create a file reference or "weak pointer" to a |
| 17 * file in a file system. | 17 * file in a file system. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 struct PP_CompletionCallback; | 20 struct PP_CompletionCallback; |
| 21 | 21 |
| 22 #define PPB_FILEREF_INTERFACE_0_9 "PPB_FileRef;0.9" | 22 #define PPB_FILEREF_INTERFACE_0_9 "PPB_FileRef;0.9" |
| 23 #define PPB_FILEREF_INTERFACE_1_0 "PPB_FileRef;1.0" | 23 #define PPB_FILEREF_INTERFACE PPB_FILEREF_INTERFACE_0_9 |
| 24 #define PPB_FILEREF_INTERFACE PPB_FILEREF_INTERFACE_1_0 | |
| 25 | 24 |
| 26 /** | 25 /** |
| 27 * @addtogroup Structs | 26 * @addtogroup Structs |
| 28 * @{ | 27 * @{ |
| 29 */ | 28 */ |
| 30 /** | 29 /** |
| 31 * The <code>PPB_FileRef</code> struct represents a "weak pointer" to a file in | 30 * The <code>PPB_FileRef</code> struct represents a "weak pointer" to a file in |
| 32 * a file system. This struct contains a <code>PP_FileSystemType</code> | 31 * a file system. This struct contains a <code>PP_FileSystemType</code> |
| 33 * identifier and a file path string. | 32 * identifier and a file path string. |
| 34 */ | 33 */ |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 int32_t (*Rename)(PP_Resource file_ref, | 180 int32_t (*Rename)(PP_Resource file_ref, |
| 182 PP_Resource new_file_ref, | 181 PP_Resource new_file_ref, |
| 183 struct PP_CompletionCallback callback); | 182 struct PP_CompletionCallback callback); |
| 184 }; | 183 }; |
| 185 /** | 184 /** |
| 186 * @} | 185 * @} |
| 187 */ | 186 */ |
| 188 | 187 |
| 189 #endif /* PPAPI_C_PPB_FILE_REF_H_ */ | 188 #endif /* PPAPI_C_PPB_FILE_REF_H_ */ |
| 190 | 189 |
| OLD | NEW |