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