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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10752006: Adding a field trial to enable speculative resource prefetching learning. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebasing for submit. Created 8 years, 5 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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 bd008047d8402fc5af087e2420fe392eb8f94dbe..64a99196c5b14852fa00661d97b5a8e1aedd08ce 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -612,10 +612,6 @@ const char kEnableSdch[] = "enable-sdch";
// Enable SPDY/3. This is a temporary testing flag.
const char kEnableSpdy3[] = "enable-spdy3";
-// Enable speculative resource prefetching.
-const char kEnableSpeculativeResourcePrefetching[] =
- "enable-speculative-resource-prefetching";
-
// Enables the stacked tabstrip.
const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip";
@@ -1189,6 +1185,17 @@ const char kSimulateUpgrade[] = "simulate-upgrade";
// ClientSocketReusePolicy.
const char kSocketReusePolicy[] = "socket-reuse-policy";
+// Speculative resource prefetching.
+const char kSpeculativeResourcePrefetching[] =
+ "speculative-resource-prefetching";
+
+// Speculative resource prefetching is disabled.
+const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
+
+// Speculative resource prefetching will only learn about resources that need to
+// be prefetched but will not prefetch them.
+const char kSpeculativeResourcePrefetchingLearning[] = "learning";
+
// Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
// "tls1.2").
const char kSSLVersionMax[] = "ssl-version-max";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698