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

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 #10 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 0cf89389b7476c3c277f3aa602dfc935814b07e7..05e482924aa2b2f22e88f6ee1741a674e3163f3a 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -751,6 +751,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// an AppContainer.
virtual base::string16 GetAppContainerSidForSandboxType(
int sandbox_type) const;
+
+ // Returns true if processes should be launched with a /prefetch:# argument.
+ // See the kPrefetchArgument* constants in content_switches.cc.
gab 2016/01/29 12:46:25 s/./ for details./
fdoray 2016/01/29 15:33:30 Done.
+ virtual bool ShouldUseWindowsPrefetchArgument() const;
#endif
#if defined(VIDEO_HOLE)

Powered by Google App Engine
This is Rietveld 408576698