1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 /* From private/ppb_file_ref_private.idl modified Fri Dec 16 17:34:59 2011. */ 7 8 #ifndef PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ 10 11 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_resource.h" 14 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_var.h" 16 17 #define PPB_FILEREFPRIVATE_INTERFACE_0_1 "PPB_FileRefPrivate;0.1" 18 #define PPB_FILEREFPRIVATE_INTERFACE PPB_FILEREFPRIVATE_INTERFACE_0_1 19 20 /** 21 * @file 22 * This file contains the <code>PPB_FileRefPrivate</code> interface. */ 23 24 25 /** 26 * @addtogroup Interfaces 27 * @{ 28 */ 29 /* PPB_FileRefPrivate interface */ 30 struct PPB_FileRefPrivate_0_1 { 31 /** 32 * GetAbsolutePath() returns the absolute path of the file. 33 * 34 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a file 35 * reference. 36 * 37 * @return A <code>PP_Var</code> containing the absolute path of the file. 38 */ 39 struct PP_Var (*GetAbsolutePath)(PP_Resource file_ref); 40 }; 41 42 typedef struct PPB_FileRefPrivate_0_1 PPB_FileRefPrivate; 43 /** 44 * @} 45 */ 46 47 #endif /* PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ */ 48 49