memory-infra: Allow creation of multiple edges between same allocator dumps

In single process mode, the SharedMemory clients will try to create
multiple edges between same global dumps. Fix the DCHECK.
For single process mode, the global dumps do not help and the importance
has to be added directly to the client dump edges.

BUG=737885

Change-Id: Id8636cc3442cdf7586995ba43b6a9bd068374385
Reviewed-on: https://chromium-review.googlesource.com/558388
Reviewed-by: Primiano Tucci <primiano@chromium.org>
Reviewed-by: Hajime Hoshi <hajimehoshi@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484889}

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