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 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 const char kSigninProcess[] = "signin-process"; | 1102 const char kSigninProcess[] = "signin-process"; |
1103 | 1103 |
1104 // Does not show an infobar when an extension attaches to a page using | 1104 // Does not show an infobar when an extension attaches to a page using |
1105 // chrome.debugger page. Required to attach to extension background pages. | 1105 // chrome.debugger page. Required to attach to extension background pages. |
1106 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; | 1106 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; |
1107 | 1107 |
1108 // Causes Chrome to launch without opening any windows by default. Useful if | 1108 // Causes Chrome to launch without opening any windows by default. Useful if |
1109 // one wishes to use Chrome as an ash server. | 1109 // one wishes to use Chrome as an ash server. |
1110 const char kSilentLaunch[] = "silent-launch"; | 1110 const char kSilentLaunch[] = "silent-launch"; |
1111 | 1111 |
1112 // Simulates an update being available. | 1112 // Simulates that elevation is needed to recover upgrade channel. |
1113 const char kSimulateUpgrade[] = "simulate-upgrade"; | 1113 const char kSimulateElevatedRecovery[] = "simulate-elevated-recovery"; |
1114 | 1114 |
1115 // Simulates a critical update being available. | 1115 // Simulates a critical update being available. |
1116 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; | 1116 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; |
1117 | 1117 |
1118 // Simulates that current version is outdated. | 1118 // Simulates that current version is outdated. |
1119 const char kSimulateOutdated[] = "simulate-outdated"; | 1119 const char kSimulateOutdated[] = "simulate-outdated"; |
1120 | 1120 |
1121 // Simulates that current version is outdated and auto-update is off. | 1121 // Simulates that current version is outdated and auto-update is off. |
1122 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; | 1122 const char kSimulateOutdatedNoAU[] = "simulate-outdated-no-au"; |
| 1123 |
| 1124 // Simulates an update being available. |
| 1125 const char kSimulateUpgrade[] = "simulate-upgrade"; |
1123 | 1126 |
1124 // Specifies the URL where spelling service feedback data will be sent instead | 1127 // Specifies the URL where spelling service feedback data will be sent instead |
1125 // of the default URL. This switch is for temporary testing only. | 1128 // of the default URL. This switch is for temporary testing only. |
1126 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by | 1129 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by |
1127 // August 2013. | 1130 // August 2013. |
1128 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; | 1131 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; |
1129 | 1132 |
1130 // Specifies the number of seconds between sending batches of feedback to | 1133 // Specifies the number of seconds between sending batches of feedback to |
1131 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This | 1134 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This |
1132 // switch is for temporary testing only. | 1135 // switch is for temporary testing only. |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1400 | 1403 |
1401 // ----------------------------------------------------------------------------- | 1404 // ----------------------------------------------------------------------------- |
1402 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1405 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1403 // | 1406 // |
1404 // You were going to just dump your switches here, weren't you? Instead, please | 1407 // You were going to just dump your switches here, weren't you? Instead, please |
1405 // put them in alphabetical order above, or in order inside the appropriate | 1408 // put them in alphabetical order above, or in order inside the appropriate |
1406 // ifdef at the bottom. The order should match the header. | 1409 // ifdef at the bottom. The order should match the header. |
1407 // ----------------------------------------------------------------------------- | 1410 // ----------------------------------------------------------------------------- |
1408 | 1411 |
1409 } // namespace switches | 1412 } // namespace switches |
OLD | NEW |