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

Unified Diff: base/debug/activity_analyzer.h

Issue 2767193002: Postmortem report collection: validate internal state (Closed)
Patch Set: Created 3 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
Index: base/debug/activity_analyzer.h
diff --git a/base/debug/activity_analyzer.h b/base/debug/activity_analyzer.h
index 95df69fd9b4abad4fb25eef7f8037a0ffb8785a6..cd85004a99854ec935e8f8409a91bc47adb50156 100644
--- a/base/debug/activity_analyzer.h
+++ b/base/debug/activity_analyzer.h
@@ -9,6 +9,7 @@
#include <memory>
#include <set>
#include <string>
+#include <vector>
#include "base/base_export.h"
#include "base/debug/activity_tracker.h"
@@ -162,6 +163,8 @@ class BASE_EXPORT GlobalActivityAnalyzer {
// This will return {0,0} if no mapping could be found.
ProgramLocation GetProgramLocationFromAddress(uint64_t address);
+ const PersistentMemoryAllocator& allocator() { return *allocator_; }
bcwhite 2017/03/23 11:32:44 For various historical reasons, allocators are alw
manzagop (departed) 2017/03/23 19:18:54 Removing this, as per your other comments.
+
private:
using AnalyzerMap =
std::map<ThreadKey, std::unique_ptr<ThreadActivityAnalyzer>>;
« no previous file with comments | « no previous file | base/debug/activity_analyzer.cc » ('j') | components/browser_watcher/postmortem_report_extractor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698