Clean up memory dumps for out of process heap profiling.

This CL has consists of several small changes:
  * The browser process now asks the profiling service to dump all profiled
  processes. Previously, the browser process was incorrectly iterating through
  all processes on the system and requesting dumps.
  * The profiling service now only requests a single global vm_regions dump from
  the memory_instrumentation interface.
  * The browser process now emits the results with the correct dump guid and
  pid.

Bug: 769579
Change-Id: I67778d806729df1fe7c2d82a27a2cf4cf6b62745
Reviewed-on: https://chromium-review.googlesource.com/688717
Commit-Queue: Erik Chen <erikchen@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#505840}

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