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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 const char kDisableExtensionsHttpThrottling[] = | 344 const char kDisableExtensionsHttpThrottling[] = |
345 "disable-extensions-http-throttling"; | 345 "disable-extensions-http-throttling"; |
346 | 346 |
347 // Disable mandatory enforcement of web_accessible_resources in extensions. | 347 // Disable mandatory enforcement of web_accessible_resources in extensions. |
348 const char kDisableExtensionsResourceWhitelist[] = | 348 const char kDisableExtensionsResourceWhitelist[] = |
349 "disable-extensions-resource-whitelist"; | 349 "disable-extensions-resource-whitelist"; |
350 | 350 |
351 // Disables Google Now integration. | 351 // Disables Google Now integration. |
352 const char kDisableGoogleNowIntegration[] = "disable-google-now-integration"; | 352 const char kDisableGoogleNowIntegration[] = "disable-google-now-integration"; |
353 | 353 |
354 // Disable Instant extended API. | |
355 const char kDisableInstantExtendedAPI[] = "disable-instant-extended-api"; | |
356 | |
357 // Disables improved SafeBrowsing download protection. | 354 // Disables improved SafeBrowsing download protection. |
358 const char kDisableImprovedDownloadProtection[] = | 355 const char kDisableImprovedDownloadProtection[] = |
359 "disable-improved-download-protection"; | 356 "disable-improved-download-protection"; |
360 | 357 |
361 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging | 358 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging |
362 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | 359 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file |
363 // bugs if something isn't working properly in the presence of IPv6. This flag | 360 // bugs if something isn't working properly in the presence of IPv6. This flag |
364 // can be overidden by the "enable-ipv6" flag. | 361 // can be overidden by the "enable-ipv6" flag. |
365 const char kDisableIPv6[] = "disable-ipv6"; | 362 const char kDisableIPv6[] = "disable-ipv6"; |
366 | 363 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 626 |
630 // Enables Google Now integration. | 627 // Enables Google Now integration. |
631 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; | 628 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; |
632 | 629 |
633 // Enable HTTP/2 draft 04. This is a temporary testing flag. | 630 // Enable HTTP/2 draft 04. This is a temporary testing flag. |
634 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; | 631 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; |
635 | 632 |
636 // Enables the inline sign in flow on Chrome desktop. | 633 // Enables the inline sign in flow on Chrome desktop. |
637 const char kEnableInlineSignin[] = "enable-inline-signin"; | 634 const char kEnableInlineSignin[] = "enable-inline-signin"; |
638 | 635 |
639 // Enable Instant extended API. On mobile, this merely enables query extraction, | |
640 // not the rest of the instant-extended functionality. | |
641 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | |
642 | |
643 // Enables IPv6 support, even if probes suggest that it may not be fully | 636 // Enables IPv6 support, even if probes suggest that it may not be fully |
644 // supported. Some probes may require internet connections, and this flag will | 637 // supported. Some probes may require internet connections, and this flag will |
645 // allow support independent of application testing. This flag overrides | 638 // allow support independent of application testing. This flag overrides |
646 // "disable-ipv6" which appears elswhere in this file. | 639 // "disable-ipv6" which appears elswhere in this file. |
647 const char kEnableIPv6[] = "enable-ipv6"; | 640 const char kEnableIPv6[] = "enable-ipv6"; |
648 | 641 |
649 // Enables IP Pooling within the networks stack (SPDY only). When a connection | 642 // Enables IP Pooling within the networks stack (SPDY only). When a connection |
650 // is needed for a domain which shares an IP with an existing connection, | 643 // is needed for a domain which shares an IP with an existing connection, |
651 // attempt to use the existing connection. | 644 // attempt to use the existing connection. |
652 const char kEnableIPPooling[] = "enable-ip-pooling"; | 645 const char kEnableIPPooling[] = "enable-ip-pooling"; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 // Enables tracking of tasks in profiler for viewing via about:profiler. | 706 // Enables tracking of tasks in profiler for viewing via about:profiler. |
714 // To predominantly disable tracking (profiling), use the command line switch: | 707 // To predominantly disable tracking (profiling), use the command line switch: |
715 // --enable-profiling=0 | 708 // --enable-profiling=0 |
716 // Some tracking will still take place at startup, but it will be turned off | 709 // Some tracking will still take place at startup, but it will be turned off |
717 // during chrome_browser_main. | 710 // during chrome_browser_main. |
718 const char kEnableProfiling[] = "enable-profiling"; | 711 const char kEnableProfiling[] = "enable-profiling"; |
719 | 712 |
720 // Enables forwarding preconnection hints to suitable proxy servers. | 713 // Enables forwarding preconnection hints to suitable proxy servers. |
721 const char kEnableProxyPreconnectHints[] = "enable-proxy-preconnect-hints"; | 714 const char kEnableProxyPreconnectHints[] = "enable-proxy-preconnect-hints"; |
722 | 715 |
| 716 // Enables query in the omnibox. |
| 717 const char kEnableQueryExtraction[] = "enable-query-extraction"; |
| 718 |
723 // Enables support for the QUIC protocol. This is a temporary testing flag. | 719 // Enables support for the QUIC protocol. This is a temporary testing flag. |
724 const char kEnableQuic[] = "enable-quic"; | 720 const char kEnableQuic[] = "enable-quic"; |
725 | 721 |
726 // Enables support for the HTTPS over QUIC protocol. This is a temporary | 722 // Enables support for the HTTPS over QUIC protocol. This is a temporary |
727 // testing flag. This only has an effect if QUIC protocol is enabled. | 723 // testing flag. This only has an effect if QUIC protocol is enabled. |
728 const char kEnableQuicHttps[] = "enable-quic-https"; | 724 const char kEnableQuicHttps[] = "enable-quic-https"; |
729 | 725 |
730 // Enables the Quickoffoce/Chrome document viewer rather than the editor. | 726 // Enables the Quickoffoce/Chrome document viewer rather than the editor. |
731 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; | 727 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; |
732 | 728 |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 | 1637 |
1642 // ----------------------------------------------------------------------------- | 1638 // ----------------------------------------------------------------------------- |
1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1639 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1644 // | 1640 // |
1645 // You were going to just dump your switches here, weren't you? Instead, please | 1641 // 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 | 1642 // put them in alphabetical order above, or in order inside the appropriate |
1647 // ifdef at the bottom. The order should match the header. | 1643 // ifdef at the bottom. The order should match the header. |
1648 // ----------------------------------------------------------------------------- | 1644 // ----------------------------------------------------------------------------- |
1649 | 1645 |
1650 } // namespace switches | 1646 } // namespace switches |
OLD | NEW |