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 WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_BUFFER_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_BUFFER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_BUFFER_H_ | 6 #define STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_BUFFER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "storage/browser/storage_browser_export.h" |
| 16 #include "storage/common/fileapi/file_system_types.h" |
15 #include "url/gurl.h" | 17 #include "url/gurl.h" |
16 #include "webkit/browser/storage_browser_export.h" | |
17 #include "webkit/common/fileapi/file_system_types.h" | |
18 | 18 |
19 namespace storage { | 19 namespace storage { |
20 | 20 |
21 class QuotaReservation; | 21 class QuotaReservation; |
22 class OpenFileHandle; | 22 class OpenFileHandle; |
23 class OpenFileHandleContext; | 23 class OpenFileHandleContext; |
24 class QuotaReservationManager; | 24 class QuotaReservationManager; |
25 | 25 |
26 // QuotaReservationBuffer manages QuotaReservation instances. All consumed | 26 // QuotaReservationBuffer manages QuotaReservation instances. All consumed |
27 // quota and leaked quota by associated QuotaReservation will be staged in | 27 // quota and leaked quota by associated QuotaReservation will be staged in |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 int64 reserved_quota_; | 78 int64 reserved_quota_; |
79 | 79 |
80 base::SequenceChecker sequence_checker_; | 80 base::SequenceChecker sequence_checker_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(QuotaReservationBuffer); | 82 DISALLOW_COPY_AND_ASSIGN(QuotaReservationBuffer); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace storage | 85 } // namespace storage |
86 | 86 |
87 #endif // WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_BUFFER_H_ | 87 #endif // STORAGE_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_BUFFER_H_ |
OLD | NEW |