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

Unified Diff: content/public/browser/content_browser_client.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: address comments from gab #13 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index b19adfb5fcf98798f3b508bd9890ed3b7e4aef3e..5ecc56efe979abbe5e6ca44e0a66bb72662ed878 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -756,6 +756,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// a process hosting a plugin with the specified |mime_type|.
virtual bool IsWin32kLockdownEnabledForMimeType(
const std::string& mime_type) const;
+
+ // Returns true if processes should be launched with a /prefetch:# argument.
+ // See the kPrefetchArgument* constants in content_switches.cc for details.
+ virtual bool ShouldUseWindowsPrefetchArgument() const;
#endif
#if defined(VIDEO_HOLE)

Powered by Google App Engine
This is Rietveld 408576698