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