| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 225 const char kDisableCustomJumpList[]         = "disable-custom-jumplist"; | 225 const char kDisableCustomJumpList[]         = "disable-custom-jumplist"; | 
| 226 | 226 | 
| 227 // Disables checking whether custom protocol handlers are registered with the | 227 // Disables checking whether custom protocol handlers are registered with the | 
| 228 // OS and removing those that are not. This is used during automated testing. | 228 // OS and removing those that are not. This is used during automated testing. | 
| 229 const char kDisableCustomProtocolOSCheck[]  = | 229 const char kDisableCustomProtocolOSCheck[]  = | 
| 230     "disable-custom-protocol-os-check"; | 230     "disable-custom-protocol-os-check"; | 
| 231 | 231 | 
| 232 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. | 232 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. | 
| 233 const char kDisableDhcpWpad[]               = "disable-dhcp-wpad"; | 233 const char kDisableDhcpWpad[]               = "disable-dhcp-wpad"; | 
| 234 | 234 | 
|  | 235 // Disables the download shelf. | 
|  | 236 const char kDisableDownloadShelf[]          = "disable-download-shelf"; | 
|  | 237 | 
| 235 // Disable extensions. | 238 // Disable extensions. | 
| 236 const char kDisableExtensions[]             = "disable-extensions"; | 239 const char kDisableExtensions[]             = "disable-extensions"; | 
| 237 | 240 | 
| 238 // Disable checking for user opt-in for extensions that want to inject script | 241 // Disable checking for user opt-in for extensions that want to inject script | 
| 239 // into file URLs (ie, always allow it). This is used during automated testing. | 242 // into file URLs (ie, always allow it). This is used during automated testing. | 
| 240 const char kDisableExtensionsFileAccessCheck[] = | 243 const char kDisableExtensionsFileAccessCheck[] = | 
| 241     "disable-extensions-file-access-check"; | 244     "disable-extensions-file-access-check"; | 
| 242 | 245 | 
| 243 // Disables the sandbox for the built-in flash player. | 246 // Disables the sandbox for the built-in flash player. | 
| 244 const char kDisableFlashSandbox[]           = "disable-flash-sandbox"; | 247 const char kDisableFlashSandbox[]           = "disable-flash-sandbox"; | 
| (...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1229 | 1232 | 
| 1230 // ----------------------------------------------------------------------------- | 1233 // ----------------------------------------------------------------------------- | 
| 1231 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 
| 1232 // | 1235 // | 
| 1233 // You were going to just dump your switches here, weren't you? Instead, | 1236 // You were going to just dump your switches here, weren't you? Instead, | 
| 1234 // please put them in alphabetical order above, or in order inside the | 1237 // please put them in alphabetical order above, or in order inside the | 
| 1235 // appropriate ifdef at the bottom. The order should match the header. | 1238 // appropriate ifdef at the bottom. The order should match the header. | 
| 1236 // ----------------------------------------------------------------------------- | 1239 // ----------------------------------------------------------------------------- | 
| 1237 | 1240 | 
| 1238 }  // namespace switches | 1241 }  // namespace switches | 
| OLD | NEW | 
|---|