| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 const char kDisableApplicationCache[] = "disable-application-cache"; | 84 const char kDisableApplicationCache[] = "disable-application-cache"; |
| 85 | 85 |
| 86 // Replaces the audio IPC layer for <audio> and <video> with a mock audio | 86 // Replaces the audio IPC layer for <audio> and <video> with a mock audio |
| 87 // device, useful when using remote desktop or machines without sound cards. | 87 // device, useful when using remote desktop or machines without sound cards. |
| 88 // This is temporary until we fix the underlying problem. | 88 // This is temporary until we fix the underlying problem. |
| 89 // | 89 // |
| 90 // TODO(scherkus): remove --disable-audio when we have a proper fallback | 90 // TODO(scherkus): remove --disable-audio when we have a proper fallback |
| 91 // mechanism. | 91 // mechanism. |
| 92 const char kDisableAudio[] = "disable-audio"; | 92 const char kDisableAudio[] = "disable-audio"; |
| 93 | 93 |
| 94 // Disable CNAME lookup of the host when generating the Kerberos SPN for a |
| 95 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
| 96 // for more background. |
| 97 extern const char kDisableAuthNegotiateCnameLookup[] = |
| 98 "disable-auth-negotiate-cname-lookup"; |
| 99 |
| 94 // Disable limits on the number of backing stores. Can prevent blinking for | 100 // Disable limits on the number of backing stores. Can prevent blinking for |
| 95 // users with many windows/tabs and lots of memory. | 101 // users with many windows/tabs and lots of memory. |
| 96 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 102 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
| 97 | 103 |
| 98 // Disable support for cached byte-ranges. | 104 // Disable support for cached byte-ranges. |
| 99 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; | 105 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; |
| 100 | 106 |
| 101 // Disables the custom JumpList on Windows 7. | 107 // Disables the custom JumpList on Windows 7. |
| 102 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; | 108 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; |
| 103 | 109 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 const char kDomAutomationController[] = "dom-automation"; | 226 const char kDomAutomationController[] = "dom-automation"; |
| 221 | 227 |
| 222 // Dump any accumualted histograms to the log when browser terminates (requires | 228 // Dump any accumualted histograms to the log when browser terminates (requires |
| 223 // logging to be enabled to really do anything). Used by developers and test | 229 // logging to be enabled to really do anything). Used by developers and test |
| 224 // scripts. | 230 // scripts. |
| 225 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 231 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
| 226 | 232 |
| 227 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 233 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
| 228 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 234 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
| 229 | 235 |
| 236 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
| 237 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
| 238 // for more background. |
| 239 extern const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
| 240 |
| 230 // Enables the benchmarking extensions. | 241 // Enables the benchmarking extensions. |
| 231 const char kEnableBenchmarking[] = "enable-benchmarking"; | 242 const char kEnableBenchmarking[] = "enable-benchmarking"; |
| 232 | 243 |
| 233 // Enables extension APIs that are in development. | 244 // Enables extension APIs that are in development. |
| 234 const char kEnableExperimentalExtensionApis[] = | 245 const char kEnableExperimentalExtensionApis[] = |
| 235 "enable-experimental-extension-apis"; | 246 "enable-experimental-extension-apis"; |
| 236 | 247 |
| 237 // Enable experimental WebGL support. | 248 // Enable experimental WebGL support. |
| 238 const char kEnableExperimentalWebGL[] = "enable-webgl"; | 249 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 239 | 250 |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 | 920 |
| 910 // ----------------------------------------------------------------------------- | 921 // ----------------------------------------------------------------------------- |
| 911 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 922 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 912 // | 923 // |
| 913 // You were going to just dump your switches here, weren't you? Instead, | 924 // You were going to just dump your switches here, weren't you? Instead, |
| 914 // please put them in alphabetical order above, or in order inside the | 925 // please put them in alphabetical order above, or in order inside the |
| 915 // appropriate ifdef at the bottom. The order should match the header. | 926 // appropriate ifdef at the bottom. The order should match the header. |
| 916 // ----------------------------------------------------------------------------- | 927 // ----------------------------------------------------------------------------- |
| 917 | 928 |
| 918 } // namespace switches | 929 } // namespace switches |
| OLD | NEW |