Move action_runner.py out of actions folder prior to moving actions to internal.
[chromium-blink-merge.git] / ppapi / c / private / ppb_file_io_private.h
blobcdbbae7727056e46db7a60c03e6019ae981f6bb6
1 /* Copyright (c) 2013 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_io_private.idl modified Wed Mar 27 14:43:25 2013. */
8 #ifndef PPAPI_C_PRIVATE_PPB_FILE_IO_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_FILE_IO_PRIVATE_H_
11 #include "ppapi/c/pp_completion_callback.h"
12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/pp_stdint.h"
16 #define PPB_FILEIO_PRIVATE_INTERFACE_0_1 "PPB_FileIO_Private;0.1"
17 #define PPB_FILEIO_PRIVATE_INTERFACE PPB_FILEIO_PRIVATE_INTERFACE_0_1
19 /**
20 * @file
24 #include "ppapi/c/private/pp_file_handle.h"
26 /**
27 * @addtogroup Interfaces
28 * @{
30 /* PPB_FileIO_Private interface */
31 struct PPB_FileIO_Private_0_1 {
32 /**
33 * Returns a file handle corresponding to the given FileIO
34 * object. The FileIO object must have been opened with a
35 * successful call to FileIO::Open. The caller gets the ownership
36 * of the returned file handle and must close it.
38 int32_t (*RequestOSFileHandle)(PP_Resource file_io,
39 PP_FileHandle* handle,
40 struct PP_CompletionCallback callback);
43 typedef struct PPB_FileIO_Private_0_1 PPB_FileIO_Private;
44 /**
45 * @}
48 #endif /* PPAPI_C_PRIVATE_PPB_FILE_IO_PRIVATE_H_ */