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

Unified Diff: chrome/common/chrome_switches.cc

Issue 127463003: Completely disable use of bind() with pseudo-random port selection on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: On Windows, avoid "port selection" in Stable or Beta channels automatically Created 6 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/http_network_session.h » ('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 654d67f1720d91c29df2e0c69279a40bb58b0ade..31811165c5268582d0bd824d33cdb862d09d0ce7 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -418,6 +418,10 @@ const char kDisableQuic[] = "disable-quic";
// testing flag. This only has an effect if QUIC protocol is enabled.
const char kDisableQuicHttps[] = "disable-quic-https";
+// Disable use of Chromium's port selection for the ephemeral port via bind().
+// This only has an effect if QUIC protocol is enabled.
+const char kDisableQuicPortSelection[] = "disable-quic-port_selection";
+
// Prevents the URLs of BackgroundContents from being remembered and
// re-launched when the browser restarts.
const char kDisableRestoreBackgroundContents[] =
@@ -738,6 +742,10 @@ const char kEnableQuic[] = "enable-quic";
// testing flag. This only has an effect if QUIC protocol is enabled.
const char kEnableQuicHttps[] = "enable-quic-https";
+// Enable use of Chromium's port selection for the ephemeral port via bind().
+// This only has an effect if QUIC protocol is enabled.
+const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
+
// Enables the Quickoffoce/Chrome document viewer rather than the editor.
const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698