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

Unified Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 2966563004: StabilityReport proto changes for multi-process support (Closed)
Patch Set: Merge Created 3 years, 4 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: chrome/browser/chrome_browser_field_trials_desktop.cc
diff --git a/chrome/browser/chrome_browser_field_trials_desktop.cc b/chrome/browser/chrome_browser_field_trials_desktop.cc
index 64dd5a3e50bb5e86f8878bb1ea1e557797bcd192..94dcf8546b1d136996f5747a82f45bf6defc1e43 100644
--- a/chrome/browser/chrome_browser_field_trials_desktop.cc
+++ b/chrome/browser/chrome_browser_field_trials_desktop.cc
@@ -37,6 +37,7 @@
#include "components/browser_watcher/stability_debugging.h"
#include "components/browser_watcher/stability_metrics.h"
#include "components/browser_watcher/stability_paths.h"
+#include "components/browser_watcher/stability_report.pb.h"
#endif
#if defined(OS_WIN)
@@ -168,6 +169,8 @@ void SetupStabilityDebugging() {
#endif
proc_data.SetInt(browser_watcher::kStabilityStartTimestamp,
base::Time::Now().ToInternalValue());
+ proc_data.SetInt(browser_watcher::kStabilityProcessType,
+ browser_watcher::ProcessState::BROWSER_PROCESS);
// Record information about chrome's module. We want this to be done early.
RecordChromeModuleInfo(global_tracker);
« no previous file with comments | « base/debug/activity_analyzer_unittest.cc ('k') | components/browser_watcher/dump_stability_report_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698