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

Unified Diff: storage/browser/quota/quota_task.cc

Issue 1120553002: [storage] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Nits Created 5 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
« no previous file with comments | « storage/browser/fileapi/file_writer_delegate.cc ('k') | storage/common/database/database_connections.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/quota_task.cc
diff --git a/storage/browser/quota/quota_task.cc b/storage/browser/quota/quota_task.cc
index b8d4ed142a0b3371f84caab3cd30060eee7f47b8..a0bda596a3ac833fdf82018456b578d3930620bc 100644
--- a/storage/browser/quota/quota_task.cc
+++ b/storage/browser/quota/quota_task.cc
@@ -10,8 +10,7 @@
#include "base/bind.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
-#include "base/message_loop/message_loop_proxy.h"
-#include "base/single_thread_task_runner.h"
+#include "base/thread_task_runner_handle.h"
using base::TaskRunner;
@@ -30,7 +29,7 @@ void QuotaTask::Start() {
QuotaTask::QuotaTask(QuotaTaskObserver* observer)
: observer_(observer),
- original_task_runner_(base::MessageLoopProxy::current()),
+ original_task_runner_(base::ThreadTaskRunnerHandle::Get()),
delete_scheduled_(false) {
}
« no previous file with comments | « storage/browser/fileapi/file_writer_delegate.cc ('k') | storage/common/database/database_connections.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698