Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: trunk/src/webkit/quota/quota_manager.cc

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/webkit/quota/quota_manager.h ('k') | trunk/src/webkit/quota/quota_task.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <functional> 9 #include <functional>
10 #include <set> 10 #include <set>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/file_util.h" 16 #include "base/file_util.h"
17 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
18 #include "base/metrics/histogram.h" 18 #include "base/metrics/histogram.h"
19 #include "base/sequenced_task_runner.h"
19 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
20 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
21 #include "base/sys_info.h" 22 #include "base/sys_info.h"
22 #include "base/task/sequenced_task_runner.h"
23 #include "base/task_runner_util.h" 23 #include "base/task_runner_util.h"
24 #include "base/time.h" 24 #include "base/time.h"
25 #include "net/base/net_util.h" 25 #include "net/base/net_util.h"
26 #include "webkit/quota/quota_database.h" 26 #include "webkit/quota/quota_database.h"
27 #include "webkit/quota/quota_temporary_storage_evictor.h" 27 #include "webkit/quota/quota_temporary_storage_evictor.h"
28 #include "webkit/quota/quota_types.h" 28 #include "webkit/quota/quota_types.h"
29 #include "webkit/quota/usage_tracker.h" 29 #include "webkit/quota/usage_tracker.h"
30 30
31 #define UMA_HISTOGRAM_MBYTES(name, sample) \ 31 #define UMA_HISTOGRAM_MBYTES(name, sample) \
32 UMA_HISTOGRAM_CUSTOM_COUNTS( \ 32 UMA_HISTOGRAM_CUSTOM_COUNTS( \
(...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 1818
1819 QuotaManagerProxy::QuotaManagerProxy( 1819 QuotaManagerProxy::QuotaManagerProxy(
1820 QuotaManager* manager, base::SingleThreadTaskRunner* io_thread) 1820 QuotaManager* manager, base::SingleThreadTaskRunner* io_thread)
1821 : manager_(manager), io_thread_(io_thread) { 1821 : manager_(manager), io_thread_(io_thread) {
1822 } 1822 }
1823 1823
1824 QuotaManagerProxy::~QuotaManagerProxy() { 1824 QuotaManagerProxy::~QuotaManagerProxy() {
1825 } 1825 }
1826 1826
1827 } // namespace quota 1827 } // namespace quota
OLDNEW
« no previous file with comments | « trunk/src/webkit/quota/quota_manager.h ('k') | trunk/src/webkit/quota/quota_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698