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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
941 const char kSSLKeyLogFile[] = "ssl-key-log-file"; | 941 const char kSSLKeyLogFile[] = "ssl-key-log-file"; |
942 | 942 |
943 // Does not show an infobar when an extension attaches to a page using | 943 // Does not show an infobar when an extension attaches to a page using |
944 // chrome.debugger page. Required to attach to extension background pages. | 944 // chrome.debugger page. Required to attach to extension background pages. |
945 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; | 945 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; |
946 | 946 |
947 // Causes Chrome to launch without opening any windows by default. Useful if | 947 // Causes Chrome to launch without opening any windows by default. Useful if |
948 // one wishes to use Chrome as an ash server. | 948 // one wishes to use Chrome as an ash server. |
949 const char kSilentLaunch[] = "silent-launch"; | 949 const char kSilentLaunch[] = "silent-launch"; |
950 | 950 |
951 // Simulates that bad modules have been found | |
952 const char kSimulateBadModules[] = "simulate-bad-modules"; | |
Peter Kasting
2016/05/11 19:16:46
We try to avoid switches if possible. When they a
kylix_rd
2016/05/11 19:54:43
I wasn't clear on the philosophy of adding switche
| |
953 | |
951 // Simulates that elevation is needed to recover upgrade channel. | 954 // Simulates that elevation is needed to recover upgrade channel. |
952 const char kSimulateElevatedRecovery[] = "simulate-elevated-recovery"; | 955 const char kSimulateElevatedRecovery[] = "simulate-elevated-recovery"; |
953 | 956 |
954 // Simulates a critical update being available. | 957 // Simulates a critical update being available. |
955 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; | 958 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; |
956 | 959 |
957 // Simulates that current version is outdated. | 960 // Simulates that current version is outdated. |
958 const char kSimulateOutdated[] = "simulate-outdated"; | 961 const char kSimulateOutdated[] = "simulate-outdated"; |
959 | 962 |
960 // Simulates that current version is outdated and auto-update is off. | 963 // Simulates that current version is outdated and auto-update is off. |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1355 | 1358 |
1356 // ----------------------------------------------------------------------------- | 1359 // ----------------------------------------------------------------------------- |
1357 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1360 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1358 // | 1361 // |
1359 // You were going to just dump your switches here, weren't you? Instead, please | 1362 // You were going to just dump your switches here, weren't you? Instead, please |
1360 // put them in alphabetical order above, or in order inside the appropriate | 1363 // put them in alphabetical order above, or in order inside the appropriate |
1361 // ifdef at the bottom. The order should match the header. | 1364 // ifdef at the bottom. The order should match the header. |
1362 // ----------------------------------------------------------------------------- | 1365 // ----------------------------------------------------------------------------- |
1363 | 1366 |
1364 } // namespace switches | 1367 } // namespace switches |
OLD | NEW |