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

Unified Diff: base/debug/activity_analyzer.h

Issue 2467103002: Collect an initial set of stability activities (Closed)
Patch Set: Created 4 years, 1 month 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 14244b7b1fe80384f477f7fbfacdfced7c7b374b..fbde0b9dbce31685506508229339643db87ef227 100644
--- a/base/debug/activity_analyzer.h
+++ b/base/debug/activity_analyzer.h
@@ -8,6 +8,7 @@
#include <map>
#include <memory>
#include <set>
+#include <string>
#include "base/base_export.h"
#include "base/debug/activity_tracker.h"
@@ -73,6 +74,8 @@ class BASE_EXPORT ThreadActivityAnalyzer {
activity_snapshot_.thread_id);
}
+ const ActivitySnapshot& activity_snapshot() { return activity_snapshot_; }
bcwhite 2016/11/02 16:52:37 I had originally planned to *not* expose the snaps
manzagop (departed) 2016/11/02 20:15:23 Acknowledged.
+
private:
friend class GlobalActivityAnalyzer;

Powered by Google App Engine
This is Rietveld 408576698