| 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 SHELL_CHILD_PROCESS_HOST_H_ | 5 #ifndef SHELL_CHILD_PROCESS_HOST_H_ |
| 6 #define SHELL_CHILD_PROCESS_HOST_H_ | 6 #define SHELL_CHILD_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
| 15 #include "mojo/edk/embedder/channel_info_forward.h" | 15 #include "mojo/edk/embedder/channel_info_forward.h" |
| 16 #include "mojo/edk/embedder/scoped_platform_handle.h" | |
| 17 #include "shell/child_controller.mojom.h" | 16 #include "shell/child_controller.mojom.h" |
| 18 | 17 |
| 19 namespace shell { | 18 namespace shell { |
| 20 | 19 |
| 21 class Context; | 20 class Context; |
| 22 struct NativeApplicationOptions; | 21 struct NativeApplicationOptions; |
| 23 | 22 |
| 24 // Child process host: parent-process representation of a child process, which | 23 // Child process host: parent-process representation of a child process, which |
| 25 // hosts/runs a native Mojo application loaded from the file system. This class | 24 // hosts/runs a native Mojo application loaded from the file system. This class |
| 26 // handles launching and communicating with the child process. | 25 // handles launching and communicating with the child process. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 ChildController::StartAppCallback on_app_complete_; | 83 ChildController::StartAppCallback on_app_complete_; |
| 85 | 84 |
| 86 base::Process child_process_; | 85 base::Process child_process_; |
| 87 | 86 |
| 88 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); | 87 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 } // namespace shell | 90 } // namespace shell |
| 92 | 91 |
| 93 #endif // SHELL_CHILD_PROCESS_HOST_H_ | 92 #endif // SHELL_CHILD_PROCESS_HOST_H_ |
| OLD | NEW |