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

Unified Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 2528173003: Desktop fast shutdown experiment (Closed)
Patch Set: Add comment to features.h Created 4 years 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
rkaplow 2016/11/30 21:15:36 I'm not entirely clear why this is needed - is the
manzagop (departed) 2016/12/01 23:29:13 Yes! Because we're specifically interested in the
}
} // namespace chrome
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698