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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 // Disables device discovery. | 321 // Disables device discovery. |
322 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; | 322 const char kDisableDeviceDiscovery[] = "disable-device-discovery"; |
323 | 323 |
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. | |
332 const char kDisableDnsProbes[] = "disable-dns-probes"; | |
Yaron
2013/11/25 23:49:33
Merge error?
yefimt
2013/11/26 00:14:48
Yes, thank you
On 2013/11/25 23:49:33, Yaron wrote
| |
333 | |
331 // Disable extensions. | 334 // Disable extensions. |
332 const char kDisableExtensions[] = "disable-extensions"; | 335 const char kDisableExtensions[] = "disable-extensions"; |
333 | 336 |
334 // Disable checking for user opt-in for extensions that want to inject script | 337 // Disable checking for user opt-in for extensions that want to inject script |
335 // into file URLs (ie, always allow it). This is used during automated testing. | 338 // into file URLs (ie, always allow it). This is used during automated testing. |
336 const char kDisableExtensionsFileAccessCheck[] = | 339 const char kDisableExtensionsFileAccessCheck[] = |
337 "disable-extensions-file-access-check"; | 340 "disable-extensions-file-access-check"; |
338 | 341 |
339 // Disable the net::URLRequestThrottlerManager functionality for | 342 // Disable the net::URLRequestThrottlerManager functionality for |
340 // requests originating from extensions. | 343 // requests originating from extensions. |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
580 // If true devtools experimental settings are enabled. | 583 // If true devtools experimental settings are enabled. |
581 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; | 584 const char kEnableDevToolsExperiments[] = "enable-devtools-experiments"; |
582 | 585 |
583 // Enable device discovery notifications. | 586 // Enable device discovery notifications. |
584 const char kEnableDeviceDiscoveryNotifications[] = | 587 const char kEnableDeviceDiscoveryNotifications[] = |
585 "enable-device-discovery-notifications"; | 588 "enable-device-discovery-notifications"; |
586 | 589 |
587 // Enables the DOM distiller. | 590 // Enables the DOM distiller. |
588 const char kEnableDomDistiller[] = "enable-dom-distiller"; | 591 const char kEnableDomDistiller[] = "enable-dom-distiller"; |
589 | 592 |
593 // Enable Enhanced Bookmarks. | |
594 const char kEnableEnhancedBookmarks[] = "enable-enhanced-bookmarks"; | |
595 | |
590 // Enables experimentation with ephemeral apps, which are launched without | 596 // Enables experimentation with ephemeral apps, which are launched without |
591 // installing in Chrome. | 597 // installing in Chrome. |
592 const char kEnableEphemeralApps[] = "enable-ephemeral-apps"; | 598 const char kEnableEphemeralApps[] = "enable-ephemeral-apps"; |
593 | 599 |
594 // Enables logging for extension activity. | 600 // Enables logging for extension activity. |
595 const char kEnableExtensionActivityLogging[] = | 601 const char kEnableExtensionActivityLogging[] = |
596 "enable-extension-activity-logging"; | 602 "enable-extension-activity-logging"; |
597 | 603 |
598 const char kEnableExtensionActivityLogTesting[] = | 604 const char kEnableExtensionActivityLogTesting[] = |
599 "enable-extension-activity-log-testing"; | 605 "enable-extension-activity-log-testing"; |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1630 | 1636 |
1631 // ----------------------------------------------------------------------------- | 1637 // ----------------------------------------------------------------------------- |
1632 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1638 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1633 // | 1639 // |
1634 // You were going to just dump your switches here, weren't you? Instead, please | 1640 // You were going to just dump your switches here, weren't you? Instead, please |
1635 // put them in alphabetical order above, or in order inside the appropriate | 1641 // put them in alphabetical order above, or in order inside the appropriate |
1636 // ifdef at the bottom. The order should match the header. | 1642 // ifdef at the bottom. The order should match the header. |
1637 // ----------------------------------------------------------------------------- | 1643 // ----------------------------------------------------------------------------- |
1638 | 1644 |
1639 } // namespace switches | 1645 } // namespace switches |
OLD | NEW |