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_PROXY_FILE_IO_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_FILE_IO_RESOURCE_H_ |
6 #define PPAPI_PROXY_FILE_IO_RESOURCE_H_ | 6 #define PPAPI_PROXY_FILE_IO_RESOURCE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/files/file.h" | 12 #include "base/files/file.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
13 #include "ppapi/c/private/pp_file_handle.h" | 16 #include "ppapi/c/private/pp_file_handle.h" |
14 #include "ppapi/proxy/connection.h" | 17 #include "ppapi/proxy/connection.h" |
15 #include "ppapi/proxy/plugin_resource.h" | 18 #include "ppapi/proxy/plugin_resource.h" |
16 #include "ppapi/proxy/ppapi_proxy_export.h" | 19 #include "ppapi/proxy/ppapi_proxy_export.h" |
17 #include "ppapi/shared_impl/file_io_state_manager.h" | 20 #include "ppapi/shared_impl/file_io_state_manager.h" |
18 #include "ppapi/shared_impl/resource.h" | 21 #include "ppapi/shared_impl/resource.h" |
19 #include "ppapi/shared_impl/scoped_pp_resource.h" | 22 #include "ppapi/shared_impl/scoped_pp_resource.h" |
20 #include "ppapi/thunk/ppb_file_io_api.h" | 23 #include "ppapi/thunk/ppb_file_io_api.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 bool check_quota_; | 228 bool check_quota_; |
226 bool called_close_; | 229 bool called_close_; |
227 | 230 |
228 DISALLOW_COPY_AND_ASSIGN(FileIOResource); | 231 DISALLOW_COPY_AND_ASSIGN(FileIOResource); |
229 }; | 232 }; |
230 | 233 |
231 } // namespace proxy | 234 } // namespace proxy |
232 } // namespace ppapi | 235 } // namespace ppapi |
233 | 236 |
234 #endif // PPAPI_PROXY_FILE_IO_RESOURCE_H_ | 237 #endif // PPAPI_PROXY_FILE_IO_RESOURCE_H_ |
OLD | NEW |