| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHILD_PROCESS_HOST_H_ | 5 #ifndef MOJO_RUNNER_CHILD_PROCESS_HOST_H_ |
| 6 #define MOJO_RUNNER_CHILD_PROCESS_HOST_H_ | 6 #define MOJO_RUNNER_CHILD_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/process/process.h" | 10 #include "base/process/process.h" |
| 11 #include "mojo/edk/embedder/channel_info_forward.h" | |
| 12 #include "mojo/edk/embedder/platform_channel_pair.h" | |
| 13 #include "mojo/edk/embedder/scoped_platform_handle.h" | |
| 14 #include "mojo/runner/child_process.mojom.h" | 11 #include "mojo/runner/child_process.mojom.h" |
| 15 #include "mojo/runner/child_process_host.h" | 12 #include "mojo/runner/child_process_host.h" |
| 13 #include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h" |
| 14 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h" |
| 15 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" |
| 16 | 16 |
| 17 namespace mojo { | 17 namespace mojo { |
| 18 namespace runner { | 18 namespace runner { |
| 19 | 19 |
| 20 class Context; | 20 class Context; |
| 21 | 21 |
| 22 // This class represents a "child process host". Handles launching and | 22 // This class represents a "child process host". Handles launching and |
| 23 // connecting a platform-specific "pipe" to the child, and supports joining the | 23 // connecting a platform-specific "pipe" to the child, and supports joining the |
| 24 // child process. Currently runs a single app (loaded from the file system). | 24 // child process. Currently runs a single app (loaded from the file system). |
| 25 // | 25 // |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // creation. | 81 // creation. |
| 82 embedder::ScopedPlatformHandle platform_channel_; | 82 embedder::ScopedPlatformHandle platform_channel_; |
| 83 | 83 |
| 84 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); | 84 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace runner | 87 } // namespace runner |
| 88 } // namespace mojo | 88 } // namespace mojo |
| 89 | 89 |
| 90 #endif // MOJO_RUNNER_CHILD_PROCESS_HOST_H_ | 90 #endif // MOJO_RUNNER_CHILD_PROCESS_HOST_H_ |
| OLD | NEW |