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.
7 #include
"ppapi/c/private/pp_file_handle.h"
10 /* This file contains the <code>PPB_FileIO_Private</code> interface. */
15 /* PPB_FileIO_Private interface */
16 interface PPB_FileIO_Private
{
18 * Returns a file handle corresponding to the given FileIO
19 * object. The FileIO object must have been opened with a
20 * successful call to FileIO::Open. The caller gets the ownership
21 * of the returned file handle and must close it.
23 int32_t RequestOSFileHandle
([in] PP_Resource file_io
,
24 [out] PP_FileHandle
handle,
25 [in] PP_CompletionCallback
callback);