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

Unified Diff: chrome/app/chrome_watcher_command_line_win.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/app/chrome_exe_main_win.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_watcher_command_line_win.cc
diff --git a/chrome/app/chrome_watcher_command_line_win.cc b/chrome/app/chrome_watcher_command_line_win.cc
index 6858de6efaafcb85b7482eee1bac6214f9819879..493ff56dc136a418edfb7ea66da391082a2f88ef 100644
--- a/chrome/app/chrome_watcher_command_line_win.cc
+++ b/chrome/app/chrome_watcher_command_line_win.cc
@@ -15,7 +15,6 @@
#include "base/strings/stringprintf.h"
#include "base/win/win_util.h"
#include "chrome/common/chrome_switches.h"
-#include "components/startup_metric_utils/common/pre_read_field_trial_utils_win.h"
#include "content/public/common/content_switches.h"
namespace {
@@ -157,8 +156,7 @@ base::CommandLine GenerateChromeWatcherCommandLine(
AppendHandleSwitch(kParentHandleSwitch, parent_process, &command_line);
#if defined(OS_WIN)
- if (startup_metric_utils::GetPreReadOptions().use_prefetch_argument)
- command_line.AppendArg(switches::kPrefetchArgumentWatcher);
+ command_line.AppendArg(switches::kPrefetchArgumentWatcher);
#endif // defined(OS_WIN)
return command_line;
« no previous file with comments | « chrome/app/chrome_exe_main_win.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698