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

Unified Diff: mojo/shell/task_runners.cc

Issue 399663002: Have mojo_shell run in its custom thread on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 | « mojo/shell/task_runners.h ('k') | mojo/shell/ui_service_loader_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/task_runners.cc
diff --git a/mojo/shell/task_runners.cc b/mojo/shell/task_runners.cc
index 573dca6ea298315cf1b07e62ac696de88654497d..c0e52e9cf79d644b1547c0a44806c44e88ab16c0 100644
--- a/mojo/shell/task_runners.cc
+++ b/mojo/shell/task_runners.cc
@@ -23,8 +23,8 @@ scoped_ptr<base::Thread> CreateIOThread(const char* name) {
} // namespace
-TaskRunners::TaskRunners(base::SingleThreadTaskRunner* ui_runner)
- : ui_runner_(ui_runner),
+TaskRunners::TaskRunners(base::SingleThreadTaskRunner* shell_runner)
+ : shell_runner_(shell_runner),
io_thread_(CreateIOThread("io_thread")),
blocking_pool_(new base::SequencedWorkerPool(kMaxBlockingPoolThreads,
"blocking_pool")) {
« no previous file with comments | « mojo/shell/task_runners.h ('k') | mojo/shell/ui_service_loader_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698