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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 | 630 |
634 // Enables Google Now integration. | 631 // Enables Google Now integration. |
635 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; | 632 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; |
636 | 633 |
637 // Enable HTTP/2 draft 04. This is a temporary testing flag. | 634 // Enable HTTP/2 draft 04. This is a temporary testing flag. |
638 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; | 635 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; |
639 | 636 |
640 // Enables the inline sign in flow on Chrome desktop. | 637 // Enables the inline sign in flow on Chrome desktop. |
641 const char kEnableInlineSignin[] = "enable-inline-signin"; | 638 const char kEnableInlineSignin[] = "enable-inline-signin"; |
642 | 639 |
643 // Enable Instant extended API. On mobile, this merely enables query extraction, | |
644 // not the rest of the instant-extended functionality. | |
645 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | |
646 | |
647 // Enables IPv6 support, even if probes suggest that it may not be fully | 640 // Enables IPv6 support, even if probes suggest that it may not be fully |
648 // supported. Some probes may require internet connections, and this flag will | 641 // supported. Some probes may require internet connections, and this flag will |
649 // allow support independent of application testing. This flag overrides | 642 // allow support independent of application testing. This flag overrides |
650 // "disable-ipv6" which appears elswhere in this file. | 643 // "disable-ipv6" which appears elswhere in this file. |
651 const char kEnableIPv6[] = "enable-ipv6"; | 644 const char kEnableIPv6[] = "enable-ipv6"; |
652 | 645 |
653 // Enables IP Pooling within the networks stack (SPDY only). When a connection | 646 // Enables IP Pooling within the networks stack (SPDY only). When a connection |
654 // is needed for a domain which shares an IP with an existing connection, | 647 // is needed for a domain which shares an IP with an existing connection, |
655 // attempt to use the existing connection. | 648 // attempt to use the existing connection. |
656 const char kEnableIPPooling[] = "enable-ip-pooling"; | 649 const char kEnableIPPooling[] = "enable-ip-pooling"; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // Enable Privet local printing. | 707 // Enable Privet local printing. |
715 const char kEnablePrivetLocalPrinting[] = "enable-privet-local-printing"; | 708 const char kEnablePrivetLocalPrinting[] = "enable-privet-local-printing"; |
716 | 709 |
717 // Enables tracking of tasks in profiler for viewing via about:profiler. | 710 // Enables tracking of tasks in profiler for viewing via about:profiler. |
718 // To predominantly disable tracking (profiling), use the command line switch: | 711 // To predominantly disable tracking (profiling), use the command line switch: |
719 // --enable-profiling=0 | 712 // --enable-profiling=0 |
720 // Some tracking will still take place at startup, but it will be turned off | 713 // Some tracking will still take place at startup, but it will be turned off |
721 // during chrome_browser_main. | 714 // during chrome_browser_main. |
722 const char kEnableProfiling[] = "enable-profiling"; | 715 const char kEnableProfiling[] = "enable-profiling"; |
723 | 716 |
| 717 // Enables query in the omnibox. |
| 718 const char kEnableQueryExtraction[] = "enable-query-extraction"; |
| 719 |
724 // Enables support for the QUIC protocol. This is a temporary testing flag. | 720 // Enables support for the QUIC protocol. This is a temporary testing flag. |
725 const char kEnableQuic[] = "enable-quic"; | 721 const char kEnableQuic[] = "enable-quic"; |
726 | 722 |
727 // Enables support for the HTTPS over QUIC protocol. This is a temporary | 723 // Enables support for the HTTPS over QUIC protocol. This is a temporary |
728 // testing flag. This only has an effect if QUIC protocol is enabled. | 724 // testing flag. This only has an effect if QUIC protocol is enabled. |
729 const char kEnableQuicHttps[] = "enable-quic-https"; | 725 const char kEnableQuicHttps[] = "enable-quic-https"; |
730 | 726 |
731 // Enables the Quickoffoce/Chrome document viewer rather than the editor. | 727 // Enables the Quickoffoce/Chrome document viewer rather than the editor. |
732 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; | 728 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; |
733 | 729 |
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1645 | 1641 |
1646 // ----------------------------------------------------------------------------- | 1642 // ----------------------------------------------------------------------------- |
1647 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1643 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1648 // | 1644 // |
1649 // You were going to just dump your switches here, weren't you? Instead, please | 1645 // You were going to just dump your switches here, weren't you? Instead, please |
1650 // put them in alphabetical order above, or in order inside the appropriate | 1646 // put them in alphabetical order above, or in order inside the appropriate |
1651 // ifdef at the bottom. The order should match the header. | 1647 // ifdef at the bottom. The order should match the header. |
1652 // ----------------------------------------------------------------------------- | 1648 // ----------------------------------------------------------------------------- |
1653 | 1649 |
1654 } // namespace switches | 1650 } // namespace switches |
OLD | NEW |