| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "mojo/edk/system/remote_message_pipe_bootstrap.h" | 5 #include "mojo/edk/system/remote_message_pipe_bootstrap.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 11 #include "mojo/edk/embedder/embedder.h" | 11 #include "mojo/edk/embedder/embedder.h" |
| 12 #include "mojo/edk/system/node_controller.h" | 12 #include "mojo/edk/system/node_controller.h" |
| 13 #include "mojo/edk/system/ports/name.h" | 13 #include "mojo/edk/system/ports/name.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 namespace edk { | 16 namespace edk { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 struct BootstrapData { | 20 struct BootstrapData { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 DCHECK(io_task_runner_->RunsTasksOnCurrentThread()); | 140 DCHECK(io_task_runner_->RunsTasksOnCurrentThread()); |
| 141 ShutDown(); | 141 ShutDown(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void RemoteMessagePipeBootstrap::ShutDownNow() { | 144 void RemoteMessagePipeBootstrap::ShutDownNow() { |
| 145 delete this; | 145 delete this; |
| 146 } | 146 } |
| 147 | 147 |
| 148 } // namespace edk | 148 } // namespace edk |
| 149 } // namespace mojo | 149 } // namespace mojo |
| OLD | NEW |