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

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: 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 080b56a743b799dc70e89b3fc34ecd95f3801b75..e524ac48eedcb60b5c03d2da5ec49fdf6054c427 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
@@ -33,8 +33,11 @@ enum PreReadOptions {
// Pre-read DLLs using the ::PrefetchVirtualMemory function, if available.
PRE_READ_OPTION_PREFETCH_VIRTUAL_MEMORY = 1 << 3,
+ // Don't use a /prefetch argument when launching a process.
+ PRE_READ_OPTION_NO_PREFETCH_ARGUMENT = 1 << 4,
+
// Set when the pre-read options have not been initialized yet.
- PRE_READ_OPTION_UNINITIALIZED = 1 << 4,
+ PRE_READ_OPTION_UNINITIALIZED = 1 << 5,
};
// Initializes DLL pre-reading options from the registry.

Powered by Google App Engine
This is Rietveld 408576698