 Chromium Code Reviews
 Chromium Code Reviews Issue 2528173003:
  Desktop fast shutdown experiment  (Closed)
    
  
    Issue 2528173003:
  Desktop fast shutdown experiment  (Closed) 
  | 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 |