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

Unified Diff: components/startup_metric_utils/common/pre_read_field_trial_utils_win.h

Issue 1612663002: Use a valid /prefetch argument when launching a process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bit
Patch Set: rebase + prefetch argument for crashpad Created 4 years, 11 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.h
diff --git a/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h b/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
index cacf4b389cc7762c1299e1cee82b68d5f8d2a229..a2aaf4ae5e1b59df2bb1e941dbe790e0aaf00d7c 100644
--- a/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
+++ b/components/startup_metric_utils/common/pre_read_field_trial_utils_win.h
@@ -21,8 +21,8 @@ using RegisterPreReadSyntheticFieldTrialCallback =
// The options controlled by the PreRead field trial.
struct PreReadOptions {
- // No explicit DLL pre-reading.
- bool no_pre_read;
+ // Pre-read DLLs explicitly.
+ bool pre_read;
// Pre-read DLLs with a high thread priority.
bool high_priority;
@@ -32,6 +32,9 @@ struct PreReadOptions {
// Pre-read DLLs using the ::PrefetchVirtualMemory function, if available.
bool prefetch_virtual_memory;
+
+ // Use a /prefetch argument when launching a process.
+ bool use_prefetch_argument;
};
// Initializes DLL pre-reading options from the registry.
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/startup_metric_utils/common/pre_read_field_trial_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698