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 STORAGE_BROWSER_QUOTA_USAGE_TRACKER_H_ | 5 #ifndef STORAGE_BROWSER_QUOTA_USAGE_TRACKER_H_ |
6 #define STORAGE_BROWSER_QUOTA_USAGE_TRACKER_H_ | 6 #define STORAGE_BROWSER_QUOTA_USAGE_TRACKER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/threading/non_thread_safe.h" | |
18 #include "storage/browser/quota/quota_callbacks.h" | 17 #include "storage/browser/quota/quota_callbacks.h" |
19 #include "storage/browser/quota/quota_client.h" | 18 #include "storage/browser/quota/quota_client.h" |
20 #include "storage/browser/quota/quota_task.h" | 19 #include "storage/browser/quota/quota_task.h" |
21 #include "storage/browser/quota/special_storage_policy.h" | 20 #include "storage/browser/quota/special_storage_policy.h" |
22 #include "storage/browser/storage_browser_export.h" | 21 #include "storage/browser/storage_browser_export.h" |
23 #include "storage/common/quota/quota_types.h" | 22 #include "storage/common/quota/quota_types.h" |
24 #include "url/gurl.h" | 23 #include "url/gurl.h" |
25 | 24 |
26 namespace storage { | 25 namespace storage { |
27 | 26 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 93 |
95 StorageMonitor* storage_monitor_; | 94 StorageMonitor* storage_monitor_; |
96 | 95 |
97 base::WeakPtrFactory<UsageTracker> weak_factory_; | 96 base::WeakPtrFactory<UsageTracker> weak_factory_; |
98 DISALLOW_COPY_AND_ASSIGN(UsageTracker); | 97 DISALLOW_COPY_AND_ASSIGN(UsageTracker); |
99 }; | 98 }; |
100 | 99 |
101 } // namespace storage | 100 } // namespace storage |
102 | 101 |
103 #endif // STORAGE_BROWSER_QUOTA_USAGE_TRACKER_H_ | 102 #endif // STORAGE_BROWSER_QUOTA_USAGE_TRACKER_H_ |
OLD | NEW |