class CrashRegister

Defined at line 20 of file ../../src/developer/forensics/crash_reports/crash_register.h

Public Methods

void CrashRegister (std::shared_ptr<InfoContext> info_context, std::string register_filepath)

Defined at line 22 of file ../../src/developer/forensics/crash_reports/crash_register.cc

void Upsert (std::string component_url, fuchsia::feedback::CrashReportingProduct product)

|fuchsia::feedback::CrashReportingProductRegister|

Defined at line 40 of file ../../src/developer/forensics/crash_reports/crash_register.cc

void UpsertWithAck (std::string component_url, fuchsia::feedback::CrashReportingProduct product, UpsertWithAckCallback callback)

Defined at line 53 of file ../../src/developer/forensics/crash_reports/crash_register.cc

bool HasProduct (const std::string & program_name)

Defined at line 60 of file ../../src/developer/forensics/crash_reports/crash_register.cc

Product GetProduct (const std::string & program_name)

Returns the Product registered by clients for a given component URL. Check-fails if non-exists.

Defined at line 64 of file ../../src/developer/forensics/crash_reports/crash_register.cc

void AddVersionAndChannel (Product & product, const AnnotationMap & annotations)

Adds the version and channel in |annotations| to |product|, if they exist.

Note: the version applied will be a concatenation of the product and platform versions using a

double dash, i.e. product_version--platform_version. If the two versions are identical, no

concatenation will occur.

Defined at line 69 of file ../../src/developer/forensics/crash_reports/crash_register.cc