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 /* From ppb_file_ref.idl modified Wed Jul 13 16:43:20 2011. */ | 6 /* From ppb_file_ref.idl modified Wed Aug 24 20:52:42 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPB_FILE_REF_H_ | 8 #ifndef PPAPI_C_PPB_FILE_REF_H_ |
9 #define PPAPI_C_PPB_FILE_REF_H_ | 9 #define PPAPI_C_PPB_FILE_REF_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
13 #include "ppapi/c/pp_file_info.h" | 13 #include "ppapi/c/pp_file_info.h" |
14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
15 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
17 #include "ppapi/c/pp_time.h" | 17 #include "ppapi/c/pp_time.h" |
18 #include "ppapi/c/pp_var.h" | 18 #include "ppapi/c/pp_var.h" |
19 | 19 |
20 #define PPB_FILEREF_INTERFACE_0_9 "PPB_FileRef;0.9" | |
21 #define PPB_FILEREF_INTERFACE_1_0 "PPB_FileRef;1.0" | 20 #define PPB_FILEREF_INTERFACE_1_0 "PPB_FileRef;1.0" |
22 #define PPB_FILEREF_INTERFACE PPB_FILEREF_INTERFACE_1_0 | 21 #define PPB_FILEREF_INTERFACE PPB_FILEREF_INTERFACE_1_0 |
23 | 22 |
24 /** | 23 /** |
25 * @file | 24 * @file |
26 * This file defines the API to create a file reference or "weak pointer" to a | 25 * This file defines the API to create a file reference or "weak pointer" to a |
27 * file in a file system. | 26 * file in a file system. |
28 */ | 27 */ |
29 | 28 |
30 | 29 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 int32_t (*Rename)(PP_Resource file_ref, | 177 int32_t (*Rename)(PP_Resource file_ref, |
179 PP_Resource new_file_ref, | 178 PP_Resource new_file_ref, |
180 struct PP_CompletionCallback callback); | 179 struct PP_CompletionCallback callback); |
181 }; | 180 }; |
182 /** | 181 /** |
183 * @} | 182 * @} |
184 */ | 183 */ |
185 | 184 |
186 #endif /* PPAPI_C_PPB_FILE_REF_H_ */ | 185 #endif /* PPAPI_C_PPB_FILE_REF_H_ */ |
187 | 186 |
OLD | NEW |