Crashpad
|
A crash report record. More...
#include "client/crash_report_database.h"
Public Attributes | |
UUID | uuid |
base::FilePath | file_path |
std::string | id |
An identifier issued to this crash report by a collection server. | |
time_t | creation_time |
The time at which the report was generated. | |
bool | uploaded |
time_t | last_upload_attempt_time |
int | upload_attempts |
bool | upload_explicitly_requested |
uint64_t | total_size |
A crash report record.
This represents the metadata for a crash report, as well as the location of the report itself. A CrashReportDatabase maintains at least this information.
base::FilePath crashpad::CrashReportDatabase::Report::file_path |
The current location of the crash report on the client’s filesystem. The location of a crash report may change over time, so the UUID should be used as the canonical identifier.
time_t crashpad::CrashReportDatabase::Report::last_upload_attempt_time |
The last timestamp at which an attempt was made to submit this crash report to a collection server. If this is zero, then the report has never been uploaded. If uploaded is true, then this timestamp is the time at which the report was uploaded, and no other attempts to upload this report will be made.
uint64_t crashpad::CrashReportDatabase::Report::total_size |
The total size in bytes taken by the report, including any potential attachments.
int crashpad::CrashReportDatabase::Report::upload_attempts |
The number of times an attempt was made to submit this report to a collection server. If this is more than zero, then last_upload_attempt_time will be set to the timestamp of the most recent attempt.
bool crashpad::CrashReportDatabase::Report::upload_explicitly_requested |
Whether this crash report was explicitly requested by user to be uploaded. This can be true only if report is in the 'pending' state.
bool crashpad::CrashReportDatabase::Report::uploaded |
Whether this crash report was successfully uploaded to a collection server.
UUID crashpad::CrashReportDatabase::Report::uuid |
A unique identifier by which this report will always be known to the database.