class Report
Defined at line 24 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 (ReportIdreport_id,const ProgramShortname &program_shortname,const AnnotationMap &annotations,std::map<std::string, fuchsia::mem::Buffer>attachments,std::stringsnapshot_uuid,std::optional<fuchsia::mem::Buffer>minidump,boolis_hourly_report)
Return fpromise::ok with a Report unless there are issues reading a fuchsia::mem::Buffer.
Defined at line 34 of file ../../src/developer/forensics/crash_reports/report.cc
ReportId Id ()
Defined at line 37 of file ../../src/developer/forensics/crash_reports/report.h
std::string ProgramShortname ()
Defined at line 39 of file ../../src/developer/forensics/crash_reports/report.h
const AnnotationMap & Annotations ()
Defined at line 41 of file ../../src/developer/forensics/crash_reports/report.h
AnnotationMap & Annotations ()
Defined at line 42 of file ../../src/developer/forensics/crash_reports/report.h
const std::map<std::string, SizedData> & Attachments ()
Defined at line 44 of file ../../src/developer/forensics/crash_reports/report.h
std::map<std::string, SizedData> & Attachments ()
Defined at line 45 of file ../../src/developer/forensics/crash_reports/report.h
const std::optional<SizedData> & Minidump ()
Defined at line 47 of file ../../src/developer/forensics/crash_reports/report.h
std::optional<SizedData> & Minidump ()
Defined at line 48 of file ../../src/developer/forensics/crash_reports/report.h
const std::string & SnapshotUuid ()
Defined at line 50 of file ../../src/developer/forensics/crash_reports/report.h
std::string & SnapshotUuid ()
Defined at line 51 of file ../../src/developer/forensics/crash_reports/report.h
bool IsHourlyReport ()
Defined at line 53 of file ../../src/developer/forensics/crash_reports/report.h
void Report (ReportIdreport_id,const std::string &program_shortname,const AnnotationMap &annotations,std::map<std::string, SizedData>attachments,std::stringsnapshot_uuid,std::optional<SizedData>minidump,boolis_hourly_report)
Defined at line 62 of file ../../src/developer/forensics/crash_reports/report.cc