| 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. | |
| 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 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1518 | 1514 |
| 1519 // ----------------------------------------------------------------------------- | 1515 // ----------------------------------------------------------------------------- |
| 1520 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1516 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1521 // | 1517 // |
| 1522 // You were going to just dump your switches here, weren't you? Instead, please | 1518 // You were going to just dump your switches here, weren't you? Instead, please |
| 1523 // put them in alphabetical order above, or in order inside the appropriate | 1519 // put them in alphabetical order above, or in order inside the appropriate |
| 1524 // ifdef at the bottom. The order should match the header. | 1520 // ifdef at the bottom. The order should match the header. |
| 1525 // ----------------------------------------------------------------------------- | 1521 // ----------------------------------------------------------------------------- |
| 1526 | 1522 |
| 1527 } // namespace switches | 1523 } // namespace switches |
| OLD | NEW |