Crashpad
|
A crash report that is in the process of being written. More...
#include "client/crash_report_database.h"
Public Member Functions | |
FileWriter * | Writer () const |
An open FileWriter with which to write the report. | |
FileReaderInterface * | Reader () |
Returns a FileReaderInterface to the report, or nullptr with a message logged. | |
const UUID & | ReportID () const |
FileWriter * | AddAttachment (const std::string &name) |
Adds an attachment to the report. More... | |
Friends | |
class | CrashReportDatabaseGeneric |
class | CrashReportDatabaseMac |
class | CrashReportDatabaseWin |
A crash report that is in the process of being written.
An instance of this class should be created via PrepareNewCrashReport().
FileWriter * crashpad::CrashReportDatabase::NewReport::AddAttachment | ( | const std::string & | name | ) |
Adds an attachment to the report.
[in] | name | The key and name for the attachment, which will be included in the http upload. The attachment will not appear in the minidump report. name should only use characters from the set [a-zA-Z0-9._-] . |
nullptr
on failure with an error logged.
|
inline |
A unique identifier by which this report will always be known to the database.