| Index: shell/task_runners.h
|
| diff --git a/shell/task_runners.h b/shell/task_runners.h
|
| index 5ed78b8b68c67262bcb02bad9e66506683e202f6..aed1f99485c731441869c490f87e0234c2c986c7 100644
|
| --- a/shell/task_runners.h
|
| +++ b/shell/task_runners.h
|
| @@ -5,11 +5,14 @@
|
| #ifndef SHELL_TASK_RUNNERS_H_
|
| #define SHELL_TASK_RUNNERS_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread.h"
|
| +#include "mojo/edk/platform/platform_handle_watcher.h"
|
| #include "mojo/edk/platform/task_runner.h"
|
| #include "mojo/edk/util/ref_ptr.h"
|
|
|
| @@ -35,6 +38,10 @@ class TaskRunners {
|
| return io_runner_;
|
| }
|
|
|
| + mojo::platform::PlatformHandleWatcher* io_watcher() const {
|
| + return io_watcher_.get();
|
| + }
|
| +
|
| base::SequencedWorkerPool* blocking_pool() const {
|
| return blocking_pool_.get();
|
| }
|
| @@ -43,6 +50,7 @@ class TaskRunners {
|
| mojo::util::RefPtr<mojo::platform::TaskRunner> shell_runner_;
|
| scoped_ptr<base::Thread> io_thread_;
|
| mojo::util::RefPtr<mojo::platform::TaskRunner> io_runner_;
|
| + std::unique_ptr<mojo::platform::PlatformHandleWatcher> io_watcher_;
|
|
|
| scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
|
|
|
|
|