| OLD | NEW |
| 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 MOJO_RUNNER_TASK_RUNNERS_H_ | 5 #ifndef MOJO_RUNNER_TASK_RUNNERS_H_ |
| 6 #define MOJO_RUNNER_TASK_RUNNERS_H_ | 6 #define MOJO_RUNNER_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" | |
| 12 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
| 13 | 12 |
| 14 namespace base { | 13 namespace base { |
| 15 class SequencedWorkerPool; | 14 class SequencedWorkerPool; |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace mojo { | 17 namespace mojo { |
| 19 namespace runner { | 18 namespace runner { |
| 20 | 19 |
| 21 // 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 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 44 | 43 |
| 45 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 44 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 46 | 45 |
| 47 DISALLOW_COPY_AND_ASSIGN(TaskRunners); | 46 DISALLOW_COPY_AND_ASSIGN(TaskRunners); |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 } // namespace runner | 49 } // namespace runner |
| 51 } // namespace mojo | 50 } // namespace mojo |
| 52 | 51 |
| 53 #endif // MOJO_RUNNER_TASK_RUNNERS_H_ | 52 #endif // MOJO_RUNNER_TASK_RUNNERS_H_ |
| OLD | NEW |