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

Side by Side 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: Missed the browser_tests Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Causes the automation provider to reinitialize its IPC channel instead of 127 // Causes the automation provider to reinitialize its IPC channel instead of
128 // shutting down when a client disconnects. 128 // shutting down when a client disconnects.
129 const char kAutomationReinitializeOnChannelError[] = 129 const char kAutomationReinitializeOnChannelError[] =
130 "automation-reinitialize-on-channel-error"; 130 "automation-reinitialize-on-channel-error";
131 131
132 // Use the (in-progress) refactor of desktop Panel windows which does not 132 // Use the (in-progress) refactor of desktop Panel windows which does not
133 // require a Browser. Flag will be removed after refactor is ready to replace 133 // require a Browser. Flag will be removed after refactor is ready to replace
134 // existing BrowserWindow Panels. 134 // existing BrowserWindow Panels.
135 const char kBrowserlessPanels[] = "browserless-panels"; 135 const char kBrowserlessPanels[] = "browserless-panels";
136 136
137 // This enables automatic captive portal checking on certain network errors.
138 // If a captive portal is detected, a login tab will be opened.
139 const char kCaptivePortalDetection[] = "enable-captive-portal-detection";
140
141 // How often (in seconds) to check for updates. Should only be used for testing 137 // How often (in seconds) to check for updates. Should only be used for testing
142 // purposes. 138 // purposes.
143 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; 139 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval";
144 140
145 // Checks the cloud print connector policy, informing the service process if 141 // Checks the cloud print connector policy, informing the service process if
146 // the policy is set to disallow the connector, then quits. 142 // the policy is set to disallow the connector, then quits.
147 const char kCheckCloudPrintConnectorPolicy[] = 143 const char kCheckCloudPrintConnectorPolicy[] =
148 "check-cloud-print-connector-policy"; 144 "check-cloud-print-connector-policy";
149 145
150 // Tells Chrome to delay shutdown (for a specified number of seconds) when a 146 // Tells Chrome to delay shutdown (for a specified number of seconds) when a
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 1521
1526 // ----------------------------------------------------------------------------- 1522 // -----------------------------------------------------------------------------
1527 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1523 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1528 // 1524 //
1529 // You were going to just dump your switches here, weren't you? Instead, please 1525 // You were going to just dump your switches here, weren't you? Instead, please
1530 // put them in alphabetical order above, or in order inside the appropriate 1526 // put them in alphabetical order above, or in order inside the appropriate
1531 // ifdef at the bottom. The order should match the header. 1527 // ifdef at the bottom. The order should match the header.
1532 // ----------------------------------------------------------------------------- 1528 // -----------------------------------------------------------------------------
1533 1529
1534 } // namespace switches 1530 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698