[Chromecast] Move SynchronizedMinidumpManager ratelimit logic to child classes.
commite2b5d24e3b338f552e27b1fd37c3eade95d436e1
authorbcf <bcf@google.com>
Mon, 14 Sep 2015 19:25:59 +0000 (14 12:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 19:26:45 +0000 (14 19:26 +0000)
tree5b5e8921f30f1f685d031d672767faf5bae049a9
parentbe041640f23013373e9e99079727dc33dd4e56af
[Chromecast] Move SynchronizedMinidumpManager ratelimit logic to child classes.

Previously rate limit logic was in SynchronizedMinidumpManager under the
assumption that this was the only producer for the lockfile.

This is not the case, so it makes more sense for ratelimit logic to be
contained in consumers of the lockfile.

TEST=modified tests pass
BUG=internal b/19210655

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

Cr-Commit-Position: refs/heads/master@{#348681}
chromecast/crash/linux/minidump_writer_unittest.cc
chromecast/crash/linux/synchronized_minidump_manager.cc
chromecast/crash/linux/synchronized_minidump_manager.h
chromecast/crash/linux/synchronized_minidump_manager_unittest.cc