| 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 "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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 | 339 |
| 340 // Disable the net::URLRequestThrottlerManager functionality for | 340 // Disable the net::URLRequestThrottlerManager functionality for |
| 341 // requests originating from extensions. | 341 // requests originating from extensions. |
| 342 const char kDisableExtensionsHttpThrottling[] = | 342 const char kDisableExtensionsHttpThrottling[] = |
| 343 "disable-extensions-http-throttling"; | 343 "disable-extensions-http-throttling"; |
| 344 | 344 |
| 345 // Disable mandatory enforcement of web_accessible_resources in extensions. | 345 // Disable mandatory enforcement of web_accessible_resources in extensions. |
| 346 const char kDisableExtensionsResourceWhitelist[] = | 346 const char kDisableExtensionsResourceWhitelist[] = |
| 347 "disable-extensions-resource-whitelist"; | 347 "disable-extensions-resource-whitelist"; |
| 348 | 348 |
| 349 // Disable Genius App and use the original Help App instead. |
| 350 const char kDisableGeniusApp[] = "disable-genius-app"; |
| 351 |
| 349 // Disable Instant extended API. | 352 // Disable Instant extended API. |
| 350 const char kDisableInstantExtendedAPI[] = "disable-instant-extended-api"; | 353 const char kDisableInstantExtendedAPI[] = "disable-instant-extended-api"; |
| 351 | 354 |
| 352 // Disables improved SafeBrowsing download protection. | 355 // Disables improved SafeBrowsing download protection. |
| 353 const char kDisableImprovedDownloadProtection[] = | 356 const char kDisableImprovedDownloadProtection[] = |
| 354 "disable-improved-download-protection"; | 357 "disable-improved-download-protection"; |
| 355 | 358 |
| 356 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging | 359 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging |
| 357 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 360 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
| 358 // bugs if something isn't working properly in the presence of IPv6. This flag | 361 // bugs if something isn't working properly in the presence of IPv6. This flag |
| (...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1607 | 1610 |
| 1608 // ----------------------------------------------------------------------------- | 1611 // ----------------------------------------------------------------------------- |
| 1609 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1612 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1610 // | 1613 // |
| 1611 // You were going to just dump your switches here, weren't you? Instead, please | 1614 // You were going to just dump your switches here, weren't you? Instead, please |
| 1612 // put them in alphabetical order above, or in order inside the appropriate | 1615 // put them in alphabetical order above, or in order inside the appropriate |
| 1613 // ifdef at the bottom. The order should match the header. | 1616 // ifdef at the bottom. The order should match the header. |
| 1614 // ----------------------------------------------------------------------------- | 1617 // ----------------------------------------------------------------------------- |
| 1615 | 1618 |
| 1616 } // namespace switches | 1619 } // namespace switches |
| OLD | NEW |