memory-infra: port peak detection logic to MemoryPeakDetector

This CL ports the memory peak detection of MemoryDumpScheduler
into the new, self-contained, MemoryPeakDetector.
This CL has no functional effects, since the new peak detector is not
used yet.

BUG=607533

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


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