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

Unified Diff: webkit/quota/quota_manager.cc

Issue 10197007: Change webkit/{fileapi,quota} code to use TaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: webkit/quota/quota_manager.cc
diff --git a/webkit/quota/quota_manager.cc b/webkit/quota/quota_manager.cc
index 640de20866416e321c5f0de560f10fa1bfd8c48c..683d1e40d59788a5ae8d0a145cf50397d1e401be 100644
--- a/webkit/quota/quota_manager.cc
+++ b/webkit/quota/quota_manager.cc
@@ -12,7 +12,8 @@
#include "base/callback.h"
#include "base/command_line.h"
#include "base/file_path.h"
-#include "base/message_loop_proxy.h"
+#include "base/sequenced_task_runner.h"
+#include "base/single_thread_task_runner.h"
#include "base/metrics/histogram.h"
#include "base/string_number_conversions.h"
#include "base/sys_info.h"
@@ -1118,8 +1119,8 @@ class QuotaManager::DumpOriginInfoTableTask
QuotaManager::QuotaManager(bool is_incognito,
const FilePath& profile_path,
- base::MessageLoopProxy* io_thread,
- base::MessageLoopProxy* db_thread,
+ base::SingleThreadTaskRunner* io_thread,
+ base::SequencedTaskRunner* db_thread,
SpecialStoragePolicy* special_storage_policy)
: is_incognito_(is_incognito),
profile_path_(profile_path),
@@ -1760,7 +1761,7 @@ QuotaManager* QuotaManagerProxy::quota_manager() const {
}
QuotaManagerProxy::QuotaManagerProxy(
- QuotaManager* manager, base::MessageLoopProxy* io_thread)
+ QuotaManager* manager, base::SingleThreadTaskRunner* io_thread)
: manager_(manager), io_thread_(io_thread) {
}

Powered by Google App Engine
This is Rietveld 408576698