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

Unified Diff: chrome/common/chrome_switches.cc

Issue 339663010: Add a probability to Alternate-Protocol support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better plumbing Created 6 years, 6 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 4c8135fd6443670b125e36afa32955dc0f44b588..f1ab7fd51c88abb027a5fd13aa24b578afe8c13c 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -52,6 +52,12 @@ const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
// URLs. This provides an override to get the old insecure behavior.
const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
+// Specifies the threshold to be used when determining of an Alternate-Protocol
+// advertisment will be honored. If the advertised probability is larger
ramant (doing other things) 2014/06/27 22:38:13 nit: advertisment -> advertisement
Ryan Hamilton 2014/06/30 19:02:34 Done.
+// than the threshold, then it will be honored.
+const char kAlternateProtocolProbabilityThreshold[] =
+ "alternate-protocol-probability-threshold";
+
// Prevents Chrome from requiring authorization to run certain widely installed
// but less commonly used plug-ins.
const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins";

Powered by Google App Engine
This is Rietveld 408576698