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 #include "services/service_manager/runner/host/child_process_host.h" | 5 #include "services/service_manager/runner/host/child_process_host.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 #endif | 31 #endif |
32 | 32 |
33 #if defined(OS_WIN) | 33 #if defined(OS_WIN) |
34 #include "base/win/windows_version.h" | 34 #include "base/win/windows_version.h" |
35 #endif | 35 #endif |
36 | 36 |
37 #if defined(OS_MACOSX) | 37 #if defined(OS_MACOSX) |
38 #include "services/service_manager/runner/host/mach_broker.h" | 38 #include "services/service_manager/runner/host/mach_broker.h" |
39 #endif | 39 #endif |
40 | 40 |
41 namespace shell { | 41 namespace service_manager { |
42 | 42 |
43 ChildProcessHost::ChildProcessHost(base::TaskRunner* launch_process_runner, | 43 ChildProcessHost::ChildProcessHost(base::TaskRunner* launch_process_runner, |
44 NativeRunnerDelegate* delegate, | 44 NativeRunnerDelegate* delegate, |
45 bool start_sandboxed, | 45 bool start_sandboxed, |
46 const Identity& target, | 46 const Identity& target, |
47 const base::FilePath& app_path) | 47 const base::FilePath& app_path) |
48 : launch_process_runner_(launch_process_runner), | 48 : launch_process_runner_(launch_process_runner), |
49 delegate_(delegate), | 49 delegate_(delegate), |
50 start_sandboxed_(start_sandboxed), | 50 start_sandboxed_(start_sandboxed), |
51 target_(target), | 51 target_(target), |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 mojo::edk::ChildProcessLaunched( | 209 mojo::edk::ChildProcessLaunched( |
210 child_process_.Handle(), | 210 child_process_.Handle(), |
211 mojo::edk::ScopedPlatformHandle(mojo::edk::PlatformHandle( | 211 mojo::edk::ScopedPlatformHandle(mojo::edk::PlatformHandle( |
212 mojo_ipc_channel_->PassServerHandle().release().handle)), | 212 mojo_ipc_channel_->PassServerHandle().release().handle)), |
213 child_token_); | 213 child_token_); |
214 } | 214 } |
215 } | 215 } |
216 start_child_process_event_.Signal(); | 216 start_child_process_event_.Signal(); |
217 } | 217 } |
218 | 218 |
219 } // namespace shell | 219 } // namespace service_manager |
OLD | NEW |