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

Unified Diff: chrome/common/chrome_switches.cc

Issue 2537503002: [Prerender] Get the prerender mode from Finch field trial. (Closed)
Patch Set: Feature API Created 4 years 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 ae359f75bcc85f7f33b389bf702869ca13016d7e..7137e3da8f0e336a40259d7e62f414a730e8dca7 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -743,22 +743,6 @@ const char kPrerenderFromOmniboxSwitchValueDisabled[] = "disabled";
// enabled: Guaranteed prerendering.
const char kPrerenderFromOmniboxSwitchValueEnabled[] = "enabled";
-// Controls speculative prerendering of pages, and content prefetching. Both
-// are dispatched from <link rel=prefetch href=...> elements.
-const char kPrerenderMode[] = "prerender";
-
-// These are the values the kPrerenderMode switch may have, as in
-// "--prerender=disabled".
-// disabled: No prerendering.
-const char kPrerenderModeSwitchValueDisabled[] = "disabled";
-// enabled: Prerendering.
-const char kPrerenderModeSwitchValueEnabled[] = "enabled";
-// prefetch: NoState Prefetch experiment.
-const char kPrerenderModeSwitchValuePrefetch[] = "prefetch";
-// simple-load: experiment with prerendering disabled but metrics reporting
-// enabled, to use as a reference for comparisons.
-const char kPrerenderModeSwitchValueSimpleLoad[] = "simple-load";
-
// Use IPv6 only for privet HTTP.
const char kPrivetIPv6Only[] = "privet-ipv6-only";
« chrome/browser/prerender/prerender_unittest.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698