Making the MemoryDumpManager less aggressive in disabling dump providers on failures.

The dump providers are disabled after it fails for once. But in some
cases the dump failure doesn't mean that it will fail permanently.
This CL adds a failure count to the dump provider and disables it only
if it fails consecutively for n times.

BUG=490783

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

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


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