OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "webkit/quota/quota_manager.h" | 5 #include "webkit/quota/quota_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <deque> | 8 #include <deque> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/message_loop_proxy.h" | 16 #include "base/message_loop_proxy.h" |
17 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
18 #include "base/stl_util-inl.h" | 18 #include "base/stl_util.h" |
19 #include "base/string_number_conversions.h" | 19 #include "base/string_number_conversions.h" |
20 #include "base/sys_info.h" | 20 #include "base/sys_info.h" |
21 #include "base/time.h" | 21 #include "base/time.h" |
22 #include "net/base/net_util.h" | 22 #include "net/base/net_util.h" |
23 #include "webkit/quota/quota_database.h" | 23 #include "webkit/quota/quota_database.h" |
24 #include "webkit/quota/quota_temporary_storage_evictor.h" | 24 #include "webkit/quota/quota_temporary_storage_evictor.h" |
25 #include "webkit/quota/quota_types.h" | 25 #include "webkit/quota/quota_types.h" |
26 #include "webkit/quota/usage_tracker.h" | 26 #include "webkit/quota/usage_tracker.h" |
27 | 27 |
28 #define UMA_HISTOGRAM_MBYTES(name, sample) \ | 28 #define UMA_HISTOGRAM_MBYTES(name, sample) \ |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1502 | 1502 |
1503 QuotaManagerProxy::QuotaManagerProxy( | 1503 QuotaManagerProxy::QuotaManagerProxy( |
1504 QuotaManager* manager, base::MessageLoopProxy* io_thread) | 1504 QuotaManager* manager, base::MessageLoopProxy* io_thread) |
1505 : manager_(manager), io_thread_(io_thread) { | 1505 : manager_(manager), io_thread_(io_thread) { |
1506 } | 1506 } |
1507 | 1507 |
1508 QuotaManagerProxy::~QuotaManagerProxy() { | 1508 QuotaManagerProxy::~QuotaManagerProxy() { |
1509 } | 1509 } |
1510 | 1510 |
1511 } // namespace quota | 1511 } // namespace quota |
OLD | NEW |