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

Unified Diff: mojo/shell/task_runners.h

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/keep_alive.cc ('k') | mojo/shell/task_runners.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/task_runners.h
diff --git a/mojo/shell/task_runners.h b/mojo/shell/task_runners.h
index 7331fa8e52446d8762fc9a6b7042ff2b9d25e7f0..c2f1be0c009987bf98309abf743be13f007db19a 100644
--- a/mojo/shell/task_runners.h
+++ b/mojo/shell/task_runners.h
@@ -22,11 +22,11 @@ namespace shell {
// process.
class TaskRunners {
public:
- explicit TaskRunners(base::SingleThreadTaskRunner* ui_runner);
+ explicit TaskRunners(base::SingleThreadTaskRunner* shell_runner);
~TaskRunners();
- base::SingleThreadTaskRunner* ui_runner() const {
- return ui_runner_.get();
+ base::SingleThreadTaskRunner* shell_runner() const {
+ return shell_runner_.get();
}
base::SingleThreadTaskRunner* io_runner() const {
@@ -38,8 +38,7 @@ class TaskRunners {
}
private:
- // TODO(beng): should this be named shell_runner_?
- scoped_refptr<base::SingleThreadTaskRunner> ui_runner_;
+ scoped_refptr<base::SingleThreadTaskRunner> shell_runner_;
scoped_ptr<base::Thread> io_thread_;
scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
« no previous file with comments | « mojo/shell/keep_alive.cc ('k') | mojo/shell/task_runners.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698