| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 const char kDisableExtensions[] = "disable-extensions"; | 191 const char kDisableExtensions[] = "disable-extensions"; |
| 192 | 192 |
| 193 // Disable checking for user opt-in for extensions that want to inject script | 193 // Disable checking for user opt-in for extensions that want to inject script |
| 194 // into file URLs (ie, always allow it). This is used during automated testing. | 194 // into file URLs (ie, always allow it). This is used during automated testing. |
| 195 const char kDisableExtensionsFileAccessCheck[] = | 195 const char kDisableExtensionsFileAccessCheck[] = |
| 196 "disable-extensions-file-access-check"; | 196 "disable-extensions-file-access-check"; |
| 197 | 197 |
| 198 // Disable FileSystem API. | 198 // Disable FileSystem API. |
| 199 const char kDisableFileSystem[] = "disable-file-system"; | 199 const char kDisableFileSystem[] = "disable-file-system"; |
| 200 | 200 |
| 201 // Disables the sandbox for the built-in flash player. |
| 202 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
| 203 |
| 201 // Suppresses support for the Geolocation javascript API. | 204 // Suppresses support for the Geolocation javascript API. |
| 202 const char kDisableGeolocation[] = "disable-geolocation"; | 205 const char kDisableGeolocation[] = "disable-geolocation"; |
| 203 | 206 |
| 204 // Disable the GLSL translator. | 207 // Disable the GLSL translator. |
| 205 const char kDisableGLSLTranslator[] = "disable-glsl-translator"; | 208 const char kDisableGLSLTranslator[] = "disable-glsl-translator"; |
| 206 | 209 |
| 207 // Disable the thread that crashes the GPU process if it stops responding to | 210 // Disable the thread that crashes the GPU process if it stops responding to |
| 208 // messages. | 211 // messages. |
| 209 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; | 212 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; |
| 210 | 213 |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1312 | 1315 |
| 1313 // ----------------------------------------------------------------------------- | 1316 // ----------------------------------------------------------------------------- |
| 1314 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1317 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1315 // | 1318 // |
| 1316 // You were going to just dump your switches here, weren't you? Instead, | 1319 // You were going to just dump your switches here, weren't you? Instead, |
| 1317 // please put them in alphabetical order above, or in order inside the | 1320 // please put them in alphabetical order above, or in order inside the |
| 1318 // appropriate ifdef at the bottom. The order should match the header. | 1321 // appropriate ifdef at the bottom. The order should match the header. |
| 1319 // ----------------------------------------------------------------------------- | 1322 // ----------------------------------------------------------------------------- |
| 1320 | 1323 |
| 1321 } // namespace switches | 1324 } // namespace switches |
| OLD | NEW |