| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // Disables device discovery notifications. | 324 // Disables device discovery notifications. |
| 325 const char kDisableDeviceDiscoveryNotifications[] = | 325 const char kDisableDeviceDiscoveryNotifications[] = |
| 326 "disable-device-discovery-notifications"; | 326 "disable-device-discovery-notifications"; |
| 327 | 327 |
| 328 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. | 328 // Disables retrieval of PAC URLs from DHCP as per the WPAD standard. |
| 329 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; | 329 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; |
| 330 | 330 |
| 331 // Force-disables DNS probes on main frame DNS errors. | 331 // Force-disables DNS probes on main frame DNS errors. |
| 332 const char kDisableDnsProbes[] = "disable-dns-probes"; | 332 const char kDisableDnsProbes[] = "disable-dns-probes"; |
| 333 | 333 |
| 334 // Force disable Enhanced Bookmarks. |
| 335 const char kDisableEnhancedBookmarks[] = "disable-enhanced-bookmarks"; |
| 336 |
| 334 // Disable extensions. | 337 // Disable extensions. |
| 335 const char kDisableExtensions[] = "disable-extensions"; | 338 const char kDisableExtensions[] = "disable-extensions"; |
| 336 | 339 |
| 337 // Disable checking for user opt-in for extensions that want to inject script | 340 // Disable checking for user opt-in for extensions that want to inject script |
| 338 // into file URLs (ie, always allow it). This is used during automated testing. | 341 // into file URLs (ie, always allow it). This is used during automated testing. |
| 339 const char kDisableExtensionsFileAccessCheck[] = | 342 const char kDisableExtensionsFileAccessCheck[] = |
| 340 "disable-extensions-file-access-check"; | 343 "disable-extensions-file-access-check"; |
| 341 | 344 |
| 342 // Disable the net::URLRequestThrottlerManager functionality for | 345 // Disable the net::URLRequestThrottlerManager functionality for |
| 343 // requests originating from extensions. | 346 // requests originating from extensions. |
| (...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1641 | 1644 |
| 1642 // ----------------------------------------------------------------------------- | 1645 // ----------------------------------------------------------------------------- |
| 1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1646 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1644 // | 1647 // |
| 1645 // You were going to just dump your switches here, weren't you? Instead, please | 1648 // You were going to just dump your switches here, weren't you? Instead, please |
| 1646 // put them in alphabetical order above, or in order inside the appropriate | 1649 // put them in alphabetical order above, or in order inside the appropriate |
| 1647 // ifdef at the bottom. The order should match the header. | 1650 // ifdef at the bottom. The order should match the header. |
| 1648 // ----------------------------------------------------------------------------- | 1651 // ----------------------------------------------------------------------------- |
| 1649 | 1652 |
| 1650 } // namespace switches | 1653 } // namespace switches |
| OLD | NEW |