| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; | 266 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
| 267 | 267 |
| 268 // Disable extensions. | 268 // Disable extensions. |
| 269 const char kDisableExtensions[] = "disable-extensions"; | 269 const char kDisableExtensions[] = "disable-extensions"; |
| 270 | 270 |
| 271 // Disable checking for user opt-in for extensions that want to inject script | 271 // Disable checking for user opt-in for extensions that want to inject script |
| 272 // into file URLs (ie, always allow it). This is used during automated testing. | 272 // into file URLs (ie, always allow it). This is used during automated testing. |
| 273 const char kDisableExtensionsFileAccessCheck[] = | 273 const char kDisableExtensionsFileAccessCheck[] = |
| 274 "disable-extensions-file-access-check"; | 274 "disable-extensions-file-access-check"; |
| 275 | 275 |
| 276 // Disable mandatory enforcement of web_accessible_resources in extensions. |
| 277 const char kDisableExtensionsResourceWhitelist[] = |
| 278 "disable-extensions-resource-whitelist"; |
| 279 |
| 276 // Disables the sandbox for the built-in flash player. | 280 // Disables the sandbox for the built-in flash player. |
| 277 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; | 281 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; |
| 278 | 282 |
| 279 // Disable the use of the HistoryQuickProvider for autocomplete results. | 283 // Disable the use of the HistoryQuickProvider for autocomplete results. |
| 280 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; | 284 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; |
| 281 | 285 |
| 282 // Disable the use of the HistoryURLProvider for autocomplete results. | 286 // Disable the use of the HistoryURLProvider for autocomplete results. |
| 283 const char kDisableHistoryURLProvider[] = "disable-history-url-provider"; | 287 const char kDisableHistoryURLProvider[] = "disable-history-url-provider"; |
| 284 | 288 |
| 285 // Disables improved SafeBrowsing download protection. | 289 // Disables improved SafeBrowsing download protection. |
| (...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 | 1351 |
| 1348 // ----------------------------------------------------------------------------- | 1352 // ----------------------------------------------------------------------------- |
| 1349 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1353 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1350 // | 1354 // |
| 1351 // You were going to just dump your switches here, weren't you? Instead, please | 1355 // You were going to just dump your switches here, weren't you? Instead, please |
| 1352 // put them in alphabetical order above, or in order inside the appropriate | 1356 // put them in alphabetical order above, or in order inside the appropriate |
| 1353 // ifdef at the bottom. The order should match the header. | 1357 // ifdef at the bottom. The order should match the header. |
| 1354 // ----------------------------------------------------------------------------- | 1358 // ----------------------------------------------------------------------------- |
| 1355 | 1359 |
| 1356 } // namespace switches | 1360 } // namespace switches |
| OLD | NEW |