Fix field trials not working in utility processes.

The simple change in utility_process_host_impl.cc wasn't enough, since utility processes can be launched elevated on Windows. In that cause, handle inheritence doesn't work since base::LaunchElevatedProcess doesn't (and can't) handle this. However, since the elevated process is by definition not sandboxed, have it duplicated the shared memory handle manually.

BUG=598073

Review-Url: https://codereview.chromium.org/2961333002
Cr-Commit-Position: refs/heads/master@{#483727}


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