class Report
Defined at line 23 of file ../../src/developer/forensics/crash_reports/report.h
An in-memory representation of a report that will be uploaded to the crash server.
Public Methods
fpromise::result<Report> MakeReport (ReportId report_id, const std::string & program_shortname, const AnnotationMap & annotations, std::map<std::string, fuchsia::mem::Buffer> attachments, std::string snapshot_uuid, std::optional<fuchsia::mem::Buffer> minidump, bool is_hourly_report)
Return fpromise::ok with a Report unless there are issues reading a fuchsia::mem::Buffer.
Defined at line 32 of file ../../src/developer/forensics/crash_reports/report.cc
ReportId Id ()
Defined at line 35 of file ../../src/developer/forensics/crash_reports/report.h
std::string ProgramShortname ()
Defined at line 37 of file ../../src/developer/forensics/crash_reports/report.h
const AnnotationMap & Annotations ()
Defined at line 39 of file ../../src/developer/forensics/crash_reports/report.h
AnnotationMap & Annotations ()
Defined at line 40 of file ../../src/developer/forensics/crash_reports/report.h
const std::map<std::string, SizedData> & Attachments ()
Defined at line 42 of file ../../src/developer/forensics/crash_reports/report.h
std::map<std::string, SizedData> & Attachments ()
Defined at line 43 of file ../../src/developer/forensics/crash_reports/report.h
const std::optional<SizedData> & Minidump ()
Defined at line 45 of file ../../src/developer/forensics/crash_reports/report.h
std::optional<SizedData> & Minidump ()
Defined at line 46 of file ../../src/developer/forensics/crash_reports/report.h
const std::string & SnapshotUuid ()
Defined at line 48 of file ../../src/developer/forensics/crash_reports/report.h
std::string & SnapshotUuid ()
Defined at line 49 of file ../../src/developer/forensics/crash_reports/report.h
bool IsHourlyReport ()
Defined at line 51 of file ../../src/developer/forensics/crash_reports/report.h
void Report (ReportId report_id, const std::string & program_shortname, const AnnotationMap & annotations, std::map<std::string, SizedData> attachments, std::string snapshot_uuid, std::optional<SizedData> minidump, bool is_hourly_report)
Defined at line 60 of file ../../src/developer/forensics/crash_reports/report.cc