Enforce handle ownership in base::Process.

The main user (and the immediate reason for the change) is to improve handle
ownership in content::ChildProcessLauncher.

This CL is not enforcing clean ownership beyond ChildProcessLauncher; that is
to be covered by subsequent CLs.

BUG=417532
TEST=base_unittests
R=scottmg@chromium.org, thestig@chromium.org

Review URL: https://codereview.chromium.org/651253002

Cr-Commit-Position: refs/heads/master@{#300180}


CrOS-Libchrome-Original-Commit: 079d184e2786686546385df92c7e72d8023f2941
7 files changed
tree: ccfb51b61153854e5d6943d0f3df0ee1f758e3cb
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/