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

Unified Diff: chrome/utility/media_galleries/ipc_data_source.cc

Issue 1111673003: [chrome/utility] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Comments for the pattern 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 | « chrome/utility/image_writer/disk_unmounter_mac.cc ('k') | chrome/utility/profile_import_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/media_galleries/ipc_data_source.cc
diff --git a/chrome/utility/media_galleries/ipc_data_source.cc b/chrome/utility/media_galleries/ipc_data_source.cc
index c65a89826a0111d194b65a46bce754e7868c5fce..df3f63c5a331176d47beed2748e622efcecc8db5 100644
--- a/chrome/utility/media_galleries/ipc_data_source.cc
+++ b/chrome/utility/media_galleries/ipc_data_source.cc
@@ -4,7 +4,7 @@
#include "chrome/utility/media_galleries/ipc_data_source.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
#include "content/public/utility/utility_thread.h"
@@ -12,7 +12,7 @@ namespace metadata {
IPCDataSource::IPCDataSource(int64 total_size)
: total_size_(total_size),
- utility_task_runner_(base::MessageLoopProxy::current()),
+ utility_task_runner_(base::ThreadTaskRunnerHandle::Get()),
next_request_id_(0) {
data_source_thread_checker_.DetachFromThread();
}
« no previous file with comments | « chrome/utility/image_writer/disk_unmounter_mac.cc ('k') | chrome/utility/profile_import_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698