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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10795038: Enable captive portal detection by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync 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
Index: chrome/common/chrome_switches.cc
===================================================================
--- chrome/common/chrome_switches.cc (revision 147935)
+++ chrome/common/chrome_switches.cc (working copy)
@@ -134,9 +134,12 @@
// existing BrowserWindow Panels.
const char kBrowserlessPanels[] = "browserless-panels";
-// This enables automatic captive portal checking on certain network errors.
-// If a captive portal is detected, a login tab will be opened.
-const char kCaptivePortalDetection[] = "enable-captive-portal-detection";
+// This enables or disables automatic captive portal checking. A value of "1"
+// enables it, a value of "0" disables it. All other values use default
+// behavior. When a captive portal is detected, a login tab will be opened.
+const char kCaptivePortalDetection[] = "captive-portal-detection";
+const char kCaptivePortalDetectionDisabled[] = "0";
+const char kCaptivePortalDetectionEnabled[] = "1";
// How often (in seconds) to check for updates. Should only be used for testing
// purposes.

Powered by Google App Engine
This is Rietveld 408576698