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 WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
6 #define WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 6 #define WEBKIT_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> |
(...skipping 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 namespace content { | 41 namespace content { |
42 class MockQuotaManager; | 42 class MockQuotaManager; |
43 class MockStorageClient; | 43 class MockStorageClient; |
44 class QuotaManagerTest; | 44 class QuotaManagerTest; |
45 class StorageMonitorTest; | 45 class StorageMonitorTest; |
46 | 46 |
47 } | 47 } |
48 | 48 |
49 namespace quota { | 49 namespace storage { |
50 | 50 |
51 class QuotaDatabase; | 51 class QuotaDatabase; |
52 class QuotaManagerProxy; | 52 class QuotaManagerProxy; |
53 class QuotaTemporaryStorageEvictor; | 53 class QuotaTemporaryStorageEvictor; |
54 class StorageMonitor; | 54 class StorageMonitor; |
55 class UsageTracker; | 55 class UsageTracker; |
56 | 56 |
57 struct QuotaManagerDeleter; | 57 struct QuotaManagerDeleter; |
58 | 58 |
59 struct WEBKIT_STORAGE_BROWSER_EXPORT UsageAndQuota { | 59 struct WEBKIT_STORAGE_BROWSER_EXPORT UsageAndQuota { |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 | 447 |
448 DISALLOW_COPY_AND_ASSIGN(QuotaManager); | 448 DISALLOW_COPY_AND_ASSIGN(QuotaManager); |
449 }; | 449 }; |
450 | 450 |
451 struct QuotaManagerDeleter { | 451 struct QuotaManagerDeleter { |
452 static void Destruct(const QuotaManager* manager) { | 452 static void Destruct(const QuotaManager* manager) { |
453 manager->DeleteOnCorrectThread(); | 453 manager->DeleteOnCorrectThread(); |
454 } | 454 } |
455 }; | 455 }; |
456 | 456 |
457 } // namespace quota | 457 } // namespace storage |
458 | 458 |
459 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ | 459 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
OLD | NEW |