Set current directory when launching Native Messaging processes.

Previously NM host processes were started in the chrome directory,
which may interfere with chrome updates sometimes. Now they are
started in the directory in which the binary is located.

BUG=437339

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

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


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