class Metadata
Defined at line 24 of file ../../src/developer/forensics/feedback_data/metadata.h
Constructs metadata describing the rest of the content of the snapshot archive.
Public Members
static const char *const kVersion
Public Methods
void Metadata (async_dispatcher_t * dispatcher, timekeeper::Clock * clock, UtcClockReadyWatcherBase * utc_clock_ready_watcher, RedactorBase * redactor, bool is_first_instance, const std::set<std::string> & default_snapshot_annotations, const feedback::AttachmentKeys & attachment_allowlist)
Defined at line 232 of file ../../src/developer/forensics/feedback_data/metadata.cc
std::string MakeMetadata (const feedback::Annotations & annotations, const feedback::Attachments & attachments, const std::string & snapshot_uuid, bool missing_non_platform_annotations)
Return a JSON metadata string.
|missing_non_platform_annotations| indicates whether some non-platform annotations are
missing, i.e. whether clients tried to insert more non-platform annotations than the maximum
number of non-platform annotations the AttachmentManager can hold.
Defined at line 245 of file ../../src/developer/forensics/feedback_data/metadata.cc