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

Unified Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 2528173003: Desktop fast shutdown experiment (Closed)
Patch Set: Address comment 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: 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 1901825d0d8eba14feef045856b9da736cbaf9ce..1a6ec57f8b0b8cb71d61d65f5b7fb88f809aac92 100644
--- a/chrome/browser/chrome_browser_field_trials_desktop.cc
+++ b/chrome/browser/chrome_browser_field_trials_desktop.cc
@@ -14,6 +14,7 @@
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_macros.h"
#include "base/path_service.h"
+#include "chrome/browser/features.h"
#include "chrome/browser/prerender/prerender_field_trial.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -112,6 +113,9 @@ void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) {
#if defined(OS_WIN)
SetupStabilityDebugging();
#endif // defined(OS_WIN)
+ // Activate the experiment as early as possible to increase its visibility
+ // (e.g. the likelihood of its presence in the serialized system profile).
+ base::FeatureList::IsEnabled(kDesktopFastShutdown);
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698