• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef PPAPI_CPP_PRIVATE_FILE_IO_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_FILE_IO_PRIVATE_H_
7 
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/private/pp_file_handle.h"
10 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/cpp/file_io.h"
12 #include "ppapi/cpp/private/pass_file_handle.h"
13 
14 namespace pp {
15 
16 class FileIO;
17 
18 class FileIO_Private : public FileIO {
19  public:
20   FileIO_Private();
21   explicit FileIO_Private(const InstanceHandle& instance);
22 
23   int32_t RequestOSFileHandle(
24       const CompletionCallbackWithOutput<PassFileHandle>& cc);
25 };
26 
27 }  // namespace pp
28 
29 #endif  // PPAPI_CPP_PRIVATE_FILE_IO_PRIVATE_H_
30