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

Unified Diff: chrome/browser/browser_process_impl.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_watcher_command_line_win.cc ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index f6b642d2c98ae0022d12d4f0bf2b7a0e9426e994..ff4ac04742df732f73dccebf2a20f883f450bbf4 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -121,7 +121,6 @@
#if defined(OS_WIN)
#include "base/win/windows_version.h"
-#include "components/startup_metric_utils/common/pre_read_field_trial_utils_win.h"
#include "ui/views/focus/view_storage.h"
#elif defined(OS_MACOSX)
#include "chrome/browser/chrome_browser_main_mac.h"
@@ -1318,8 +1317,7 @@ void BrowserProcessImpl::RestartBackgroundInstance() {
}
#if defined(OS_WIN)
- if (startup_metric_utils::GetPreReadOptions().use_prefetch_argument)
- new_cl->AppendArg(switches::kPrefetchArgumentBrowserBackground);
+ new_cl->AppendArg(switches::kPrefetchArgumentBrowserBackground);
#endif // defined(OS_WIN)
DLOG(WARNING) << "Shutting down current instance of the browser.";
« no previous file with comments | « chrome/app/chrome_watcher_command_line_win.cc ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698