mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
c45ba7920e
This change updates CrashReportDatbase::NewReport objects to own the file handle associated with the new report, now accessible via a FileWriter. NewReport's destructor closes its file handle and removes its new report unless disarmed with FinishedWritingCrashReport, eliminating the need for CallErrorWritingCrashReport. Bug: crashpad:206 Change-Id: Iccb5bbc0ebadb07a237ff8eb938389afcfeae2a5 Reviewed-on: https://chromium-review.googlesource.com/916941 Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Scott Graham <scottmg@chromium.org>