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

Unified Diff: chrome/common/service_process_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/common/DEPS ('k') | chrome/installer/util/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util.cc
diff --git a/chrome/common/service_process_util.cc b/chrome/common/service_process_util.cc
index 1607c63eb7ec34686eeb540db4f4986027e38a1f..4f7f3df6beec22bda5cdc5b4269993ba564b3c0a 100644
--- a/chrome/common/service_process_util.cc
+++ b/chrome/common/service_process_util.cc
@@ -33,10 +33,6 @@
#include "google_apis/gaia/gaia_switches.h"
#include "ui/base/ui_base_switches.h"
-#if defined(OS_WIN)
-#include "components/startup_metric_utils/common/pre_read_field_trial_utils_win.h"
-#endif // defined(OS_WIN)
-
#if !defined(OS_MACOSX)
namespace {
@@ -169,8 +165,7 @@ std::unique_ptr<base::CommandLine> CreateServiceProcessCommandLine() {
switches::kServiceProcess);
#if defined(OS_WIN)
- if (startup_metric_utils::GetPreReadOptions().use_prefetch_argument)
- command_line->AppendArg(switches::kPrefetchArgumentOther);
+ command_line->AppendArg(switches::kPrefetchArgumentOther);
#endif // defined(OS_WIN)
static const char* const kSwitchesToCopy[] = {
« no previous file with comments | « chrome/common/DEPS ('k') | chrome/installer/util/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698