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

Unified Diff: chrome/common/chrome_switches.cc

Issue 2508933002: tools: Local tests for the speculative prefetch predictor. (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 6d8a898fdc971bf7be056cb377e93bb0c9e7c5c2..e6986563547c3fc9bce4ab89d5a0f3b9d1d44000 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -898,6 +898,9 @@ const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
// Speculative resource prefetching is enabled.
const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
+// Speculative resource prefetching is enabled for external requests.
+const char kSpeculativeResourceExternalPrefetchingEnabled[] = "external";
pasko 2016/11/24 19:31:16 following the pattern of the above two, it should
pasko 2016/11/24 19:31:16 nit: From naming it is not obvious whether "extern
Benoit L 2016/11/30 12:08:27 Done.
Benoit L 2016/11/30 12:08:27 Done.
+
// Speculative resource prefetching will only learn about resources that need to
// be prefetched but will not prefetch them.
const char kSpeculativeResourcePrefetchingLearning[] = "learning";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698