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

Unified Diff: snapshot/mac/process_snapshot_mac.cc

Issue 924673003: Add MinidumpCrashpadInfo::simple_annotations (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Fix MSVC Created 5 years, 10 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
Index: snapshot/mac/process_snapshot_mac.cc
diff --git a/snapshot/mac/process_snapshot_mac.cc b/snapshot/mac/process_snapshot_mac.cc
index c241c9827ae4fff9391f05599ea5e180ca28717f..ec19e3a6406712f7163447d241bf7c142b0a967e 100644
--- a/snapshot/mac/process_snapshot_mac.cc
+++ b/snapshot/mac/process_snapshot_mac.cc
@@ -23,6 +23,7 @@ ProcessSnapshotMac::ProcessSnapshotMac()
modules_(),
exception_(),
process_reader_(),
+ annotations_simple_map_(),
snapshot_time_(),
initialized_() {
}
@@ -104,6 +105,11 @@ void ProcessSnapshotMac::ProcessCPUTimes(timeval* user_time,
process_reader_.CPUTimes(user_time, system_time);
}
+std::map<std::string, std::string> ProcessSnapshotMac::AnnotationsSimpleMap()
+ const {
+ return annotations_simple_map_;
+}
+
const SystemSnapshot* ProcessSnapshotMac::System() const {
INITIALIZATION_STATE_DCHECK_VALID(initialized_);
return &system_;

Powered by Google App Engine
This is Rietveld 408576698