mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-15 01:57:58 +08:00
c406797ce6
This change adds CrashReportDatabase::UploadReport which owns the report's file handle during upload. An upload is recorded as a success by calling RecordUploadComplete(). If RecordUploadComplete() is not called, the operation is recorded as a failure when the UploadReport is destroyed. Bug: crashpad:206 Change-Id: I8385d08d52185ad30b06a3ed054de9812ae006a2 Reviewed-on: https://chromium-review.googlesource.com/917983 Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org>