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

Unified Diff: chrome/installer/util/auto_launch_util.cc

Issue 2075693002: Always use a /prefetch:# switch when launching a process on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « chrome/installer/util/DEPS ('k') | chrome/service/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9fbeab7a47925fdd0ce30fe78e0c83723e3fe59f..7bc403add954be4a2499c979a6df0c99558f6574 100644
--- a/chrome/installer/util/auto_launch_util.cc
+++ b/chrome/installer/util/auto_launch_util.cc
@@ -21,7 +21,6 @@
#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,9 +58,7 @@ 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);
+ cmd_line.AppendArg(switches::kPrefetchArgumentBrowserBackground);
base::win::AddCommandToAutoRun(HKEY_CURRENT_USER, GetAutoLaunchKeyName(),
cmd_line.GetCommandLineString());
« no previous file with comments | « chrome/installer/util/DEPS ('k') | chrome/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698