[Mojo] Channel::RemoteProcessLaunched->RemoteProcessLaunchAttempted.
Replaces the Channel::RemoteProcessLaunched API, which callers had to invoke only if they successfully launched a process with the Channel handle, with RemoteProcessLaunchAttempted, which must always be called regardless of whether process-launch was successful, so long as it was attempted with base::LaunchProcess. This is required under Fuchsia, where the remote endpoint handle is transferred, rather than cloned, and the LaunchProcess API consumes the handle even on failure, for consistency. On POSIX and Windows the effect is just to close the remote endpoint handle earlier in the case of failure to launch. Bug: 848028, 754449 Change-Id: Ia79efebdc8b629f3d579a76c941283d461980e4c Reviewed-on: https://chromium-review.googlesource.com/1086385Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Ken Rockot <rockot@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#564620}
Showing
Please register or sign in to comment