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

Unified Diff: snapshot/process_snapshot.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 | « snapshot/minidump/process_snapshot_minidump.cc ('k') | snapshot/test/test_process_snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/process_snapshot.h
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h
index 5d8023aa898cc8a083ddce8a6bf7e474385ea35a..42df05c9b21cf8d6c39ac7197a0fd117264f6bd5 100644
--- a/snapshot/process_snapshot.h
+++ b/snapshot/process_snapshot.h
@@ -79,6 +79,17 @@ class ProcessSnapshot {
virtual void ProcessCPUTimes(timeval* user_time,
timeval* system_time) const = 0;
+ //! \brief Returns a %UUID identifying the event that the snapshot describes.
+ //!
+ //! 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. When a report is originally created, a report ID should
+ //! be assigned. From that point on, any operations involving the same report
+ //! should preserve the same report ID.
+ //!
+ //! If no identifier is available, this field will contain zeroes.
+ virtual void ReportID(UUID* client_id) const = 0;
+
//! \brief Returns a %UUID identifying the client that the snapshot
//! represents.
//!
« no previous file with comments | « snapshot/minidump/process_snapshot_minidump.cc ('k') | snapshot/test/test_process_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698