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

Unified Diff: components/browser_watcher/postmortem_report_collector.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: components/browser_watcher/postmortem_report_collector.h
diff --git a/components/browser_watcher/postmortem_report_collector.h b/components/browser_watcher/postmortem_report_collector.h
index dffdc6e3214cc3c4fc5b2bdadc3f59aa041acd0b..5ddbc11a069b9d9cb167ae99b50667b2c0f0f557 100644
--- a/components/browser_watcher/postmortem_report_collector.h
+++ b/components/browser_watcher/postmortem_report_collector.h
@@ -15,6 +15,7 @@
#include <string>
#include <vector>
+#include "base/debug/activity_tracker.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
@@ -87,6 +88,9 @@ class PostmortemReportCollector {
// TODO(manzagop): move this for reuse in live scenario.
virtual CollectionStatus Collect(const base::FilePath& debug_state_file,
std::unique_ptr<StabilityReport>* report);
+ void PostmortemReportCollector::CollectThread(
+ const base::debug::ActivitySnapshot& snapshot,
+ ThreadState* thread_state);
virtual bool WriteReportToMinidump(const StabilityReport& report,
const crashpad::UUID& client_id,

Powered by Google App Engine
This is Rietveld 408576698