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

Side by Side Diff: shell/task_runners.h

Issue 1174063002: Remove use of MessageLoopProxy (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « shell/in_process_native_runner.cc ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SHELL_TASK_RUNNERS_H_ 5 #ifndef SHELL_TASK_RUNNERS_H_
6 #define SHELL_TASK_RUNNERS_H_ 6 #define SHELL_TASK_RUNNERS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop_proxy.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 13
14 namespace base { 14 namespace base {
15 class SequencedWorkerPool; 15 class SequencedWorkerPool;
16 } 16 }
17 17
18 namespace shell { 18 namespace shell {
19 19
20 // A context object that contains the common task runners for the shell's main 20 // A context object that contains the common task runners for the shell's main
21 // process. 21 // process.
(...skipping 20 matching lines...) Expand all
42 scoped_ptr<base::Thread> io_thread_; 42 scoped_ptr<base::Thread> io_thread_;
43 43
44 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 44 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(TaskRunners); 46 DISALLOW_COPY_AND_ASSIGN(TaskRunners);
47 }; 47 };
48 48
49 } // namespace shell 49 } // namespace shell
50 50
51 #endif // SHELL_TASK_RUNNERS_H_ 51 #endif // SHELL_TASK_RUNNERS_H_
OLDNEW
« no previous file with comments | « shell/in_process_native_runner.cc ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698