Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ppapi / c / private / ppb_file_ref_private.h
blob3f5c4632e0e8c78b9a2c2d557e0db57aece0273b
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 */
6 /* From private/ppb_file_ref_private.idl modified Fri Dec 16 17:34:59 2011. */
8 #ifndef PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_
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"
17 #define PPB_FILEREFPRIVATE_INTERFACE_0_1 "PPB_FileRefPrivate;0.1"
18 #define PPB_FILEREFPRIVATE_INTERFACE PPB_FILEREFPRIVATE_INTERFACE_0_1
20 /**
21 * @file
22 * This file contains the <code>PPB_FileRefPrivate</code> interface. */
25 /**
26 * @addtogroup Interfaces
27 * @{
29 /* PPB_FileRefPrivate interface */
30 struct PPB_FileRefPrivate_0_1 {
31 /**
32 * GetAbsolutePath() returns the absolute path of the file.
34 * @param[in] file_ref A <code>PP_Resource</code> corresponding to a file
35 * reference.
37 * @return A <code>PP_Var</code> containing the absolute path of the file.
39 struct PP_Var (*GetAbsolutePath)(PP_Resource file_ref);
42 typedef struct PPB_FileRefPrivate_0_1 PPB_FileRefPrivate;
43 /**
44 * @}
47 #endif /* PPAPI_C_PRIVATE_PPB_FILE_REF_PRIVATE_H_ */