| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 #include "media/media_features.h" | 7 #include "media/media_features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // Disable LocalStorage. | 201 // Disable LocalStorage. |
| 202 const char kDisableLocalStorage[] = "disable-local-storage"; | 202 const char kDisableLocalStorage[] = "disable-local-storage"; |
| 203 | 203 |
| 204 // Force logging to be disabled. Logging is enabled by default in debug | 204 // Force logging to be disabled. Logging is enabled by default in debug |
| 205 // builds. | 205 // builds. |
| 206 const char kDisableLogging[] = "disable-logging"; | 206 const char kDisableLogging[] = "disable-logging"; |
| 207 | 207 |
| 208 // Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders. | 208 // Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders. |
| 209 const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva"; | 209 const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva"; |
| 210 | 210 |
| 211 // Dont use a Mojo-based LocalStorage implementation. |
| 212 const char kDisableMojoLocalStorage[] = "disable-mojo-local-storage"; |
| 213 |
| 211 // Disables usage of the namespace sandbox. | 214 // Disables usage of the namespace sandbox. |
| 212 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; | 215 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; |
| 213 | 216 |
| 214 // Disables the Web Notification and the Push APIs. | 217 // Disables the Web Notification and the Push APIs. |
| 215 const char kDisableNotifications[] = "disable-notifications"; | 218 const char kDisableNotifications[] = "disable-notifications"; |
| 216 | 219 |
| 217 // Disable partial raster in the renderer. Disabling this switch also disables | 220 // Disable partial raster in the renderer. Disabling this switch also disables |
| 218 // the use of persistent gpu memory buffers. | 221 // the use of persistent gpu memory buffers. |
| 219 const char kDisablePartialRaster[] = "disable-partial-raster"; | 222 const char kDisablePartialRaster[] = "disable-partial-raster"; |
| 220 | 223 |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 // Renderer.Memory histogram. Used in memory tests. | 640 // Renderer.Memory histogram. Used in memory tests. |
| 638 const char kMemoryMetrics[] = "memory-metrics"; | 641 const char kMemoryMetrics[] = "memory-metrics"; |
| 639 | 642 |
| 640 // Sets options for MHTML generator to skip no-store resources: | 643 // Sets options for MHTML generator to skip no-store resources: |
| 641 // "skip-nostore-main" - fails to save a page if main frame is 'no-store' | 644 // "skip-nostore-main" - fails to save a page if main frame is 'no-store' |
| 642 // "skip-nostore-all" - also skips no-store subresources. | 645 // "skip-nostore-all" - also skips no-store subresources. |
| 643 const char kMHTMLGeneratorOption[] = "mhtml-generator-option"; | 646 const char kMHTMLGeneratorOption[] = "mhtml-generator-option"; |
| 644 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main"; | 647 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main"; |
| 645 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all"; | 648 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all"; |
| 646 | 649 |
| 647 // Use a Mojo-based LocalStorage implementation. | |
| 648 const char kMojoLocalStorage[] = "mojo-local-storage"; | |
| 649 | |
| 650 // Mutes audio sent to the audio device so it is not audible during | 650 // Mutes audio sent to the audio device so it is not audible during |
| 651 // automated testing. | 651 // automated testing. |
| 652 const char kMuteAudio[] = "mute-audio"; | 652 const char kMuteAudio[] = "mute-audio"; |
| 653 | 653 |
| 654 // Don't send HTTP-Referer headers. | 654 // Don't send HTTP-Referer headers. |
| 655 const char kNoReferrers[] = "no-referrers"; | 655 const char kNoReferrers[] = "no-referrers"; |
| 656 | 656 |
| 657 // Disables the sandbox for all process types that are normally sandboxed. | 657 // Disables the sandbox for all process types that are normally sandboxed. |
| 658 const char kNoSandbox[] = "no-sandbox"; | 658 const char kNoSandbox[] = "no-sandbox"; |
| 659 | 659 |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1082 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1084 | 1084 |
| 1085 // Specifies the testcase used by the IPC fuzzer. | 1085 // Specifies the testcase used by the IPC fuzzer. |
| 1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1087 #endif | 1087 #endif |
| 1088 | 1088 |
| 1089 // Don't dump stuff here, follow the same order as the header. | 1089 // Don't dump stuff here, follow the same order as the header. |
| 1090 | 1090 |
| 1091 } // namespace switches | 1091 } // namespace switches |
| OLD | NEW |