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 "services/service_manager/runner/host/service_process_launcher.h" | 5 #include "services/service_manager/runner/host/service_process_launcher.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 } | 189 } |
190 | 190 |
191 if (child_process_.IsValid()) { | 191 if (child_process_.IsValid()) { |
192 DVLOG(0) << "Launched child process pid=" << child_process_.Pid() | 192 DVLOG(0) << "Launched child process pid=" << child_process_.Pid() |
193 << ", instance=" << target_.instance() | 193 << ", instance=" << target_.instance() |
194 << ", name=" << target_.name() | 194 << ", name=" << target_.name() |
195 << ", user_id=" << target_.user_id(); | 195 << ", user_id=" << target_.user_id(); |
196 | 196 |
197 if (mojo_ipc_channel_.get()) { | 197 if (mojo_ipc_channel_.get()) { |
198 mojo_ipc_channel_->ChildProcessLaunched(); | 198 mojo_ipc_channel_->ChildProcessLaunched(); |
199 process_connection_.Connect(child_process_.Handle(), | 199 process_connection_.Connect( |
200 mojo_ipc_channel_->PassServerHandle()); | 200 child_process_.Handle(), |
| 201 mojo::edk::ConnectionParam(mojo_ipc_channel_->PassServerHandle())); |
201 } | 202 } |
202 } | 203 } |
203 start_child_process_event_.Signal(); | 204 start_child_process_event_.Signal(); |
204 } | 205 } |
205 | 206 |
206 } // namespace service_manager | 207 } // namespace service_manager |
OLD | NEW |