[tracing] Send unique tracing process id for cross-process memory dumps identification.

The memory shared between browser and renderer must be identified with
the same unique id for memory dumps in tracing. Currently the child
process is not aware of its unique child process id. But, the child
process id cannot be exposed in the child process (see discussion in
crrev.com/1155683009).

So, a hash of the child process id allocated by the browser process is
sent to child process along with begin tracing message and will be
exposed in the child process MemoryDumpManager. The allocator that
needs to create a global guid will use the id to identify memory dumps.

See the design doc https://goo.gl/ncMfUV for more details.

BUG=497726

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

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


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