OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_THUNK_PPB_FILE_IO_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_FILE_IO_API_H_ |
6 #define PPAPI_THUNK_PPB_FILE_IO_API_H_ | 6 #define PPAPI_THUNK_PPB_FILE_IO_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/ppb_file_io.h" | 11 #include "ppapi/c/ppb_file_io.h" |
10 #include "ppapi/c/private/pp_file_handle.h" | 12 #include "ppapi/c/private/pp_file_handle.h" |
11 #include "ppapi/thunk/ppapi_thunk_export.h" | 13 #include "ppapi/thunk/ppapi_thunk_export.h" |
12 | 14 |
13 namespace ppapi { | 15 namespace ppapi { |
14 | 16 |
15 class TrackedCallback; | 17 class TrackedCallback; |
16 | 18 |
17 namespace thunk { | 19 namespace thunk { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // Private API. | 54 // Private API. |
53 virtual int32_t RequestOSFileHandle( | 55 virtual int32_t RequestOSFileHandle( |
54 PP_FileHandle* handle, | 56 PP_FileHandle* handle, |
55 scoped_refptr<TrackedCallback> callback) = 0; | 57 scoped_refptr<TrackedCallback> callback) = 0; |
56 }; | 58 }; |
57 | 59 |
58 } // namespace thunk | 60 } // namespace thunk |
59 } // namespace ppapi | 61 } // namespace ppapi |
60 | 62 |
61 #endif // PPAPI_THUNK_PPB_FILE_IO_API_H_ | 63 #endif // PPAPI_THUNK_PPB_FILE_IO_API_H_ |
OLD | NEW |