OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "ppapi/c/pp_stdint.h" // For int64_t on Windows. | 13 #include "ppapi/c/pp_stdint.h" // For int64_t on Windows. |
14 #include "ppapi/shared_impl/file_growth.h" | 14 #include "ppapi/shared_impl/file_growth.h" |
| 15 #include "storage/browser/fileapi/file_system_context.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 #include "webkit/browser/fileapi/file_system_context.h" | |
17 | 17 |
18 namespace storage { | 18 namespace storage { |
19 class FileSystemURL; | 19 class FileSystemURL; |
20 class OpenFileHandle; | 20 class OpenFileHandle; |
21 class QuotaReservation; | 21 class QuotaReservation; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 struct QuotaReservationDeleter; | 26 struct QuotaReservationDeleter; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 struct QuotaReservationDeleter { | 93 struct QuotaReservationDeleter { |
94 static void Destruct(const QuotaReservation* quota_reservation) { | 94 static void Destruct(const QuotaReservation* quota_reservation) { |
95 quota_reservation->DeleteOnCorrectThread(); | 95 quota_reservation->DeleteOnCorrectThread(); |
96 } | 96 } |
97 }; | 97 }; |
98 | 98 |
99 } // namespace content | 99 } // namespace content |
100 | 100 |
101 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ | 101 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ |
OLD | NEW |