| 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.
|
|
|