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

Unified Diff: components/browser_watcher/postmortem_report_collector.h

Issue 2467103002: Collect an initial set of stability activities (Closed)
Patch Set: Address clang warnings 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
« no previous file with comments | « base/debug/activity_analyzer.h ('k') | components/browser_watcher/postmortem_report_collector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d776a50ccb2ac646e0c5cbd215c673a3672250d1 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,8 @@ 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 CollectThread(const base::debug::ActivitySnapshot& snapshot,
+ ThreadState* thread_state);
virtual bool WriteReportToMinidump(const StabilityReport& report,
const crashpad::UUID& client_id,
« no previous file with comments | « base/debug/activity_analyzer.h ('k') | components/browser_watcher/postmortem_report_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698