| 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 private/ppb_file_ref_private.idl modified Mon Dec 12 14:04:17 2011. */ | 6 /* From private/ppb_file_ref_private.idl modified Fri Dec 16 17:34:59 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ |
| 9 #define PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_macros.h" | 12 #include "ppapi/c/pp_macros.h" |
| 13 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
| 14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
| 15 #include "ppapi/c/pp_var.h" | 15 #include "ppapi/c/pp_var.h" |
| 16 | 16 |
| 17 #define PPB_FILEREFPRIVATE_INTERFACE_0_1 "PPB_FileRefPrivate;0.1" | 17 #define PPB_FILEREFPRIVATE_INTERFACE_0_1 "PPB_FileRefPrivate;0.1" |
| 18 #define PPB_FILEREFPRIVATE_INTERFACE PPB_FILEREFPRIVATE_INTERFACE_0_1 | 18 #define PPB_FILEREFPRIVATE_INTERFACE PPB_FILEREFPRIVATE_INTERFACE_0_1 |
| 19 | 19 |
| 20 /** | 20 /** |
| 21 * @file | 21 * @file |
| 22 * This file contains the <code>PPB_FileRefPrivate</code> interface. */ | 22 * This file contains the <code>PPB_FileRefPrivate</code> interface. */ |
| 23 | 23 |
| 24 | 24 |
| 25 /** | 25 /** |
| 26 * @addtogroup Interfaces | 26 * @addtogroup Interfaces |
| 27 * @{ | 27 * @{ |
| 28 */ | 28 */ |
| 29 /* PPB_FileRefPrivate interface */ | 29 /* PPB_FileRefPrivate interface */ |
| 30 struct PPB_FileRefPrivate { | 30 struct PPB_FileRefPrivate_0_1 { |
| 31 /** | 31 /** |
| 32 * GetAbsolutePath() returns the absolute path of the file. | 32 * GetAbsolutePath() returns the absolute path of the file. |
| 33 * | 33 * |
| 34 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a file | 34 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a file |
| 35 * reference. | 35 * reference. |
| 36 * | 36 * |
| 37 * @return A <code>PP_Var</code> containing the absolute path of the file. | 37 * @return A <code>PP_Var</code> containing the absolute path of the file. |
| 38 */ | 38 */ |
| 39 struct PP_Var (*GetAbsolutePath)(PP_Resource file_ref); | 39 struct PP_Var (*GetAbsolutePath)(PP_Resource file_ref); |
| 40 }; | 40 }; |
| 41 |
| 42 typedef struct PPB_FileRefPrivate_0_1 PPB_FileRefPrivate; |
| 41 /** | 43 /** |
| 42 * @} | 44 * @} |
| 43 */ | 45 */ |
| 44 | 46 |
| 45 #endif /* PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ */ | 47 #endif /* PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ */ |
| 46 | 48 |
| OLD | NEW |