OLD | NEW |
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 Loading... |
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. | 137 // This enables or disables automatic captive portal checking. A value of "1" |
138 // If a captive portal is detected, a login tab will be opened. | 138 // enables it, a value of "0" disables it. All other values use default |
139 const char kCaptivePortalDetection[] = "enable-captive-portal-detection"; | 139 // behavior. When a captive portal is detected, a login tab will be opened. |
| 140 const char kCaptivePortalDetection[] = "captive-portal-detection"; |
| 141 const char kCaptivePortalDetectionDisabled[] = "0"; |
| 142 const char kCaptivePortalDetectionEnabled[] = "1"; |
140 | 143 |
141 // How often (in seconds) to check for updates. Should only be used for testing | 144 // How often (in seconds) to check for updates. Should only be used for testing |
142 // purposes. | 145 // purposes. |
143 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; | 146 const char kCheckForUpdateIntervalSec[] = "check-for-update-interval"; |
144 | 147 |
145 // Checks the cloud print connector policy, informing the service process if | 148 // Checks the cloud print connector policy, informing the service process if |
146 // the policy is set to disallow the connector, then quits. | 149 // the policy is set to disallow the connector, then quits. |
147 const char kCheckCloudPrintConnectorPolicy[] = | 150 const char kCheckCloudPrintConnectorPolicy[] = |
148 "check-cloud-print-connector-policy"; | 151 "check-cloud-print-connector-policy"; |
149 | 152 |
(...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1515 | 1518 |
1516 // ----------------------------------------------------------------------------- | 1519 // ----------------------------------------------------------------------------- |
1517 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1520 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1518 // | 1521 // |
1519 // You were going to just dump your switches here, weren't you? Instead, please | 1522 // You were going to just dump your switches here, weren't you? Instead, please |
1520 // put them in alphabetical order above, or in order inside the appropriate | 1523 // put them in alphabetical order above, or in order inside the appropriate |
1521 // ifdef at the bottom. The order should match the header. | 1524 // ifdef at the bottom. The order should match the header. |
1522 // ----------------------------------------------------------------------------- | 1525 // ----------------------------------------------------------------------------- |
1523 | 1526 |
1524 } // namespace switches | 1527 } // namespace switches |
OLD | NEW |