Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: minidump/minidump_extensions.h

Issue 1000263003: Add MinidumpCrashpadInfo::report_id (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « minidump/minidump_crashpad_info_writer_test.cc ('k') | snapshot/mac/process_snapshot_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/minidump_extensions.h
diff --git a/minidump/minidump_extensions.h b/minidump/minidump_extensions.h
index 93164186507a45cc058ecfdf2212ccf9db8e7841..b8bf77a1c4a77b75099f6401693736abd96629f6 100644
--- a/minidump/minidump_extensions.h
+++ b/minidump/minidump_extensions.h
@@ -459,6 +459,7 @@ struct ALIGNAS(4) PACKED MinidumpCrashpadInfo {
// members, an explicit constructor must be provided.
MinidumpCrashpadInfo()
: version(),
+ report_id(),
client_id(),
simple_annotations(),
module_list() {
@@ -480,6 +481,17 @@ struct ALIGNAS(4) PACKED MinidumpCrashpadInfo {
//! no need for any fields present in later versions.
uint32_t version;
+ //! \brief A %UUID identifying an individual crash report.
+ //!
+ //! This provides a stable identifier for a crash even as the report is
+ //! converted to different formats, provided that all formats support storing
+ //! a crash report ID.
+ //!
+ //! If no identifier is available, this field will contain zeroes.
+ //!
+ //! This field is present when #version is at least `1`.
+ UUID report_id;
+
//! \brief A %UUID identifying the client that crashed.
//!
//! Client identification is within the scope of the application, but it is
« no previous file with comments | « minidump/minidump_crashpad_info_writer_test.cc ('k') | snapshot/mac/process_snapshot_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698