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

Unified Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 2715903003: Bound the impact of system instability on chrome instability. (Closed)
Patch Set: Address Siggi's comments Created 3 years, 9 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 47715a06258dff1e92f36cdbb9c33c3b44687a00..57f1fd988786573d91ca91e16cc87e80dc0c3d61 100644
--- a/chrome/browser/chrome_browser_field_trials_desktop.cc
+++ b/chrome/browser/chrome_browser_field_trials_desktop.cc
@@ -18,6 +18,7 @@
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_macros.h"
#include "base/path_service.h"
+#include "base/time/time.h"
#include "chrome/browser/features.h"
#include "chrome/browser/prerender/prerender_field_trial.h"
#include "chrome/common/chrome_features.h"
@@ -172,6 +173,8 @@ void SetupStabilityDebugging() {
#elif defined(ARCH_CPU_X86_64)
global_data.SetString(browser_watcher::kStabilityPlatform, "Win64");
#endif
+ global_data.SetInt(browser_watcher::kStabilityStartTimestamp,
+ base::Time::Now().ToInternalValue());
// Record information about chrome's module. We want this to be done early.
RecordChromeModuleInfo(global_tracker);
« no previous file with comments | « no previous file | components/browser_watcher/BUILD.gn » ('j') | components/browser_watcher/fetch_system_session_events_main_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698