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_QUOTA_QUOTA_MANAGER_H_ | 5 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
6 #define WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 6 #define STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
22 #include "base/sequenced_task_runner_helpers.h" | 22 #include "base/sequenced_task_runner_helpers.h" |
23 #include "webkit/browser/quota/quota_callbacks.h" | 23 #include "storage/browser/quota/quota_callbacks.h" |
24 #include "webkit/browser/quota/quota_client.h" | 24 #include "storage/browser/quota/quota_client.h" |
25 #include "webkit/browser/quota/quota_database.h" | 25 #include "storage/browser/quota/quota_database.h" |
26 #include "webkit/browser/quota/quota_task.h" | 26 #include "storage/browser/quota/quota_task.h" |
27 #include "webkit/browser/quota/special_storage_policy.h" | 27 #include "storage/browser/quota/special_storage_policy.h" |
28 #include "webkit/browser/quota/storage_observer.h" | 28 #include "storage/browser/quota/storage_observer.h" |
29 #include "webkit/browser/storage_browser_export.h" | 29 #include "storage/browser/storage_browser_export.h" |
30 | 30 |
31 namespace base { | 31 namespace base { |
32 class FilePath; | 32 class FilePath; |
33 class SequencedTaskRunner; | 33 class SequencedTaskRunner; |
34 class SingleThreadTaskRunner; | 34 class SingleThreadTaskRunner; |
35 } | 35 } |
36 | 36 |
37 namespace quota_internals { | 37 namespace quota_internals { |
38 class QuotaInternalsProxy; | 38 class QuotaInternalsProxy; |
39 } | 39 } |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 }; | 450 }; |
451 | 451 |
452 struct QuotaManagerDeleter { | 452 struct QuotaManagerDeleter { |
453 static void Destruct(const QuotaManager* manager) { | 453 static void Destruct(const QuotaManager* manager) { |
454 manager->DeleteOnCorrectThread(); | 454 manager->DeleteOnCorrectThread(); |
455 } | 455 } |
456 }; | 456 }; |
457 | 457 |
458 } // namespace storage | 458 } // namespace storage |
459 | 459 |
460 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 460 #endif // STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
OLD | NEW |