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

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: Address review feedback 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
« no previous file with comments | « snapshot/mac/process_snapshot_mac.h ('k') | snapshot/module_snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..dd462a9020beed7c63dbbeb1b2fceb218b38b717 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);
}
+const 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_;
« no previous file with comments | « snapshot/mac/process_snapshot_mac.h ('k') | snapshot/module_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698