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

Unified Diff: chrome/common/chrome_switches.cc

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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 1b9d66441fecd52105aaee0b2886e46931f272b8..3e3e71c3a2682730075db9ff4713180118845e6b 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1254,6 +1254,12 @@ const char kForceImmersive[] = "force-immersive";
// This flag is only relevant for Windows currently.
const char kNoNetworkProfileWarning[] = "no-network-profile-warning";
+// /prefetch:# arguments for the browser process launched in background mode and
+// for the watcher process. These constants must be different from the
+// kPrefetchArgument* constants defined in content_switches.cc.
+const char kPrefetchArgumentBrowserBackground[] = "/prefetch:6";
+const char kPrefetchArgumentWatcher[] = "/prefetch:7";
+
// For the DelegateExecute verb handler to launch Chrome in desktop mode on
// Windows 8 and higher. Used when relaunching metro Chrome.
const char kForceDesktop[] = "force-desktop";

Powered by Google App Engine
This is Rietveld 408576698