Chromium Code Reviews| Index: remoting/host/daemon_process.h |
| diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h |
| index 7b44c2aac9b06054c6f715c24f455ed9aa518ce2..3e6984f58eaa15304bf4be2a9e475a1bc79614f7 100644 |
| --- a/remoting/host/daemon_process.h |
| +++ b/remoting/host/daemon_process.h |
| @@ -34,6 +34,7 @@ class DaemonProcess : public Stoppable, public IPC::Listener { |
| // Creates a platform-specific implementation of the daemon process object. |
| static scoped_ptr<DaemonProcess> Create( |
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
| + scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, |
| const base::Closure& stopped_callback); |
| // IPC::Listener implementation. |
| @@ -41,6 +42,7 @@ class DaemonProcess : public Stoppable, public IPC::Listener { |
| protected: |
| DaemonProcess(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
| + scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, |
| const base::Closure& stopped_callback); |
| // Reads the host configuration and launches the networking process. |
| @@ -56,8 +58,8 @@ class DaemonProcess : public Stoppable, public IPC::Listener { |
| // The main task runner. Typically it is the UI message loop. |
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
| - // A dedicated thread for handling IPC requests. |
| - scoped_ptr<base::Thread> ipc_thread_; |
| + // Handles IPC and bacjground I/O tasks. |
|
simonmorris
2012/08/16 22:34:39
"background"
alexeypa (please no reviews)
2012/08/18 00:23:44
Done.
|
| + scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
| // The IPC channel connecting the daemon process to the networking process. |
| scoped_ptr<IPC::ChannelProxy> network_process_channel_; |