OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/files/file_util_proxy.h" | 10 #include "base/files/file_util_proxy.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "ppapi/c/pp_file_info.h" | 14 #include "ppapi/c/pp_file_info.h" |
15 #include "ppapi/c/pp_instance.h" | 15 #include "ppapi/c/pp_instance.h" |
| 16 #include "webkit/common/quota/quota_types.h" |
16 #include "webkit/plugins/webkit_plugins_export.h" | 17 #include "webkit/plugins/webkit_plugins_export.h" |
17 #include "webkit/quota/quota_types.h" | |
18 | 18 |
19 namespace webkit { | 19 namespace webkit { |
20 namespace ppapi { | 20 namespace ppapi { |
21 | 21 |
22 class PluginDelegate; | 22 class PluginDelegate; |
23 | 23 |
24 // This class is created per PPB_FileIO_Impl instance and provides | 24 // This class is created per PPB_FileIO_Impl instance and provides |
25 // write operations for quota-managed files (i.e. files of | 25 // write operations for quota-managed files (i.e. files of |
26 // PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}). | 26 // PP_FILESYSTEMTYPE_LOCAL{PERSISTENT,TEMPORARY}). |
27 class QuotaFileIO { | 27 class QuotaFileIO { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 base::WeakPtrFactory<QuotaFileIO> weak_factory_; | 109 base::WeakPtrFactory<QuotaFileIO> weak_factory_; |
110 | 110 |
111 DISALLOW_COPY_AND_ASSIGN(QuotaFileIO); | 111 DISALLOW_COPY_AND_ASSIGN(QuotaFileIO); |
112 }; | 112 }; |
113 | 113 |
114 } // namespace ppapi | 114 } // namespace ppapi |
115 } // namespace webkit | 115 } // namespace webkit |
116 | 116 |
117 #endif // WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ | 117 #endif // WEBKIT_PLUGINS_PPAPI_QUOTA_FILE_IO_H_ |
OLD | NEW |