Chromium Code Reviews| 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; |