| Index: chrome/installer/util/auto_launch_util.cc
|
| diff --git a/chrome/installer/util/auto_launch_util.cc b/chrome/installer/util/auto_launch_util.cc
|
| index e61cf7677d09db1742737d8a22503438c6734145..9fbeab7a47925fdd0ce30fe78e0c83723e3fe59f 100644
|
| --- a/chrome/installer/util/auto_launch_util.cc
|
| +++ b/chrome/installer/util/auto_launch_util.cc
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/installer/util/util_constants.h"
|
| +#include "components/startup_metric_utils/common/pre_read_field_trial_utils_win.h"
|
| #include "crypto/sha2.h"
|
|
|
| namespace {
|
| @@ -59,6 +60,9 @@ void EnableBackgroundStartAtLogin() {
|
| base::CommandLine cmd_line(application_dir.Append(installer::kChromeExe));
|
| cmd_line.AppendSwitch(switches::kNoStartupWindow);
|
|
|
| + if (startup_metric_utils::GetPreReadOptions().use_prefetch_argument)
|
| + cmd_line.AppendArg(switches::kPrefetchArgumentBrowserBackground);
|
| +
|
| base::win::AddCommandToAutoRun(HKEY_CURRENT_USER, GetAutoLaunchKeyName(),
|
| cmd_line.GetCommandLineString());
|
| }
|
|
|