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

Unified Diff: components/startup_metric_utils/common/pre_read_field_trial_utils_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
Index: components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc
diff --git a/components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc b/components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc
index bed524ada9c9951091183184e21c0eb598a4974e..cb9207a58da5c0ae320899860b879b0ee066d7e1 100644
--- a/components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc
+++ b/components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc
@@ -33,7 +33,6 @@ const base::char16 kNoPreReadVariationName[] = L"NoPreRead";
const base::char16 kHighPriorityVariationName[] = L"HighPriority";
const base::char16 kPrefetchVirtualMemoryVariationName[] =
L"PrefetchVirtualMemory";
-const base::char16 kNoPrefetchArgumentVariationName[] = L"NoPrefetchArgument";
const base::char16 kPreReadChromeChildInBrowser[] =
L"PreReadChromeChildInBrowser";
@@ -78,8 +77,6 @@ void InitializePreReadOptions(const base::string16& product_registry_path) {
g_pre_read_options.high_priority = ReadBool(key, kHighPriorityVariationName);
g_pre_read_options.prefetch_virtual_memory =
ReadBool(key, kPrefetchVirtualMemoryVariationName);
- g_pre_read_options.use_prefetch_argument =
- !ReadBool(key, kNoPrefetchArgumentVariationName);
g_pre_read_options.pre_read_chrome_child_in_browser =
ReadBool(key, kPreReadChromeChildInBrowser);
}
« no previous file with comments | « components/startup_metric_utils/common/pre_read_field_trial_utils_win.h ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698