android: Avoid duplicating OnCrashDumpProcessed
CrashMetricsReporter::CrashDumpProcessed can be called multiple times for the same process; see the comment in ChildProcessCrashObserver::OnChildExit. Previously we avoid duplicating collecting stats by checking that if the dump is missing, meaning it has already been crashed before. This mostly still works except for NotifyObserver call which is still called under kMissingDump, so fix that. Change-Id: I2145a0df8c604739f86fb9ab9cecf845168dcbfe Reviewed-on: https://chromium-review.googlesource.com/1148558Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Siddhartha S <ssid@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#577930}
Showing
Please register or sign in to comment