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 */
5
6#inline c
7#include "ppapi/c/private/pp_file_handle.h"
8#endinl
9
10/* This file contains the <code>PPB_FileIO_Private</code> interface. */
11label Chrome {
12  M28 = 0.1
13};
14
15/* PPB_FileIO_Private interface */
16interface PPB_FileIO_Private {
17  /**
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.
22   */
23  int32_t RequestOSFileHandle([in] PP_Resource file_io,
24                              [out] PP_FileHandle handle,
25                              [in] PP_CompletionCallback callback);
26};
27