OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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_SYSTEM_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ |
6 #define PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ | 6 #define PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "ppapi/c/pp_file_info.h" | 13 #include "ppapi/c/pp_file_info.h" |
14 #include "ppapi/c/pp_resource.h" | 14 #include "ppapi/c/pp_resource.h" |
15 #include "ppapi/c/private/ppb_isolated_file_system_private.h" | 15 #include "ppapi/c/private/ppb_isolated_file_system_private.h" |
16 #include "ppapi/proxy/connection.h" | 16 #include "ppapi/proxy/connection.h" |
17 #include "ppapi/proxy/plugin_resource.h" | 17 #include "ppapi/proxy/plugin_resource.h" |
18 #include "ppapi/proxy/ppapi_proxy_export.h" | 18 #include "ppapi/proxy/ppapi_proxy_export.h" |
19 #include "ppapi/proxy/resource_message_params.h" | 19 #include "ppapi/proxy/resource_message_params.h" |
| 20 #include "ppapi/shared_impl/file_growth.h" |
20 #include "ppapi/thunk/ppb_file_system_api.h" | 21 #include "ppapi/thunk/ppb_file_system_api.h" |
21 | 22 |
22 namespace ppapi { | 23 namespace ppapi { |
23 | 24 |
24 class TrackedCallback; | 25 class TrackedCallback; |
25 | 26 |
26 namespace proxy { | 27 namespace proxy { |
27 | 28 |
28 class PPAPI_PROXY_EXPORT FileSystemResource | 29 class PPAPI_PROXY_EXPORT FileSystemResource |
29 : public PluginResource, | 30 : public PluginResource, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 int64_t reserved_quota_; | 96 int64_t reserved_quota_; |
96 bool reserving_quota_; | 97 bool reserving_quota_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(FileSystemResource); | 99 DISALLOW_COPY_AND_ASSIGN(FileSystemResource); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace proxy | 102 } // namespace proxy |
102 } // namespace ppapi | 103 } // namespace ppapi |
103 | 104 |
104 #endif // PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ | 105 #endif // PPAPI_PROXY_FILE_SYSTEM_RESOURCE_H_ |
OLD | NEW |