Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 24733003: Update defaults for InstantExtended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test exclusion. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 351
352 // Disable the net::URLRequestThrottlerManager functionality for 352 // Disable the net::URLRequestThrottlerManager functionality for
353 // requests originating from extensions. 353 // requests originating from extensions.
354 const char kDisableExtensionsHttpThrottling[] = 354 const char kDisableExtensionsHttpThrottling[] =
355 "disable-extensions-http-throttling"; 355 "disable-extensions-http-throttling";
356 356
357 // Disable mandatory enforcement of web_accessible_resources in extensions. 357 // Disable mandatory enforcement of web_accessible_resources in extensions.
358 const char kDisableExtensionsResourceWhitelist[] = 358 const char kDisableExtensionsResourceWhitelist[] =
359 "disable-extensions-resource-whitelist"; 359 "disable-extensions-resource-whitelist";
360 360
361 // Disable Instant extended API.
362 const char kDisableInstantExtendedAPI[] = "disable-instant-extended-api";
363
364 // Disables improved SafeBrowsing download protection. 361 // Disables improved SafeBrowsing download protection.
365 const char kDisableImprovedDownloadProtection[] = 362 const char kDisableImprovedDownloadProtection[] =
366 "disable-improved-download-protection"; 363 "disable-improved-download-protection";
367 364
368 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 365 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
369 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 366 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
370 // bugs if something isn't working properly in the presence of IPv6. This flag 367 // bugs if something isn't working properly in the presence of IPv6. This flag
371 // can be overidden by the "enable-ipv6" flag. 368 // can be overidden by the "enable-ipv6" flag.
372 const char kDisableIPv6[] = "disable-ipv6"; 369 const char kDisableIPv6[] = "disable-ipv6";
373 370
374 // Disables IP Pooling within the networks stack (SPDY only). When a connection 371 // Disables IP Pooling within the networks stack (SPDY only). When a connection
375 // is needed for a domain which shares an IP with an existing connection, 372 // is needed for a domain which shares an IP with an existing connection,
376 // attempt to use the existing connection. 373 // attempt to use the existing connection.
377 const char kDisableIPPooling[] = "disable-ip-pooling"; 374 const char kDisableIPPooling[] = "disable-ip-pooling";
378 375
379 // Disable always using the local NTP for the first NTP load of a new window.
380 const char kDisableLocalFirstLoadNTP[] = "disable-local-first-load-ntp";
381
382 // Disable the behavior that the second click on a launcher item (the click when 376 // Disable the behavior that the second click on a launcher item (the click when
383 // the item is already active) minimizes the item. 377 // the item is already active) minimizes the item.
384 const char kDisableMinimizeOnSecondLauncherItemClick[] = 378 const char kDisableMinimizeOnSecondLauncherItemClick[] =
385 "disable-minimize-on-second-launcher-item-click"; 379 "disable-minimize-on-second-launcher-item-click";
386 380
387 // Disables the menu on the NTP for accessing sessions from other devices. 381 // Disables the menu on the NTP for accessing sessions from other devices.
388 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 382 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
389 383
390 // Disables omnibox auto-completion when IME is active. 384 // Disables omnibox auto-completion when IME is active.
391 const char kDisableOmniboxAutoCompletionForIme[] = 385 const char kDisableOmniboxAutoCompletionForIme[] =
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 620
627 // Enables Google Now integration. 621 // Enables Google Now integration.
628 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; 622 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration";
629 623
630 // Enable HTTP/2 draft 04. This is a temporary testing flag. 624 // Enable HTTP/2 draft 04. This is a temporary testing flag.
631 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; 625 const char kEnableHttp2Draft04[] = "enable-http2-draft-04";
632 626
633 // Enables the inline sign in flow on Chrome desktop. 627 // Enables the inline sign in flow on Chrome desktop.
634 const char kEnableInlineSignin[] = "enable-inline-signin"; 628 const char kEnableInlineSignin[] = "enable-inline-signin";
635 629
636 // Enable Instant extended API. On mobile, this merely enables query extraction,
637 // not the rest of the instant-extended functionality.
638 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api";
639
640 // Enables IPv6 support, even if probes suggest that it may not be fully 630 // Enables IPv6 support, even if probes suggest that it may not be fully
641 // supported. Some probes may require internet connections, and this flag will 631 // supported. Some probes may require internet connections, and this flag will
642 // allow support independent of application testing. This flag overrides 632 // allow support independent of application testing. This flag overrides
643 // "disable-ipv6" which appears elswhere in this file. 633 // "disable-ipv6" which appears elswhere in this file.
644 const char kEnableIPv6[] = "enable-ipv6"; 634 const char kEnableIPv6[] = "enable-ipv6";
645 635
646 /// Enables the IPC fuzzer for reliability testing 636 /// Enables the IPC fuzzer for reliability testing
647 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; 637 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing";
648 638
649 // Enables IP Pooling within the networks stack (SPDY only). When a connection 639 // 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, 640 // is needed for a domain which shares an IP with an existing connection,
651 // attempt to use the existing connection. 641 // attempt to use the existing connection.
652 const char kEnableIPPooling[] = "enable-ip-pooling"; 642 const char kEnableIPPooling[] = "enable-ip-pooling";
653 643
654 // Enable always using the local NTP for the first NTP load of a new window.
655 const char kEnableLocalFirstLoadNTP[] = "enable-local-first-load-ntp";
656
657 // Enables support for user profiles that are managed by another user and can 644 // Enables support for user profiles that are managed by another user and can
658 // have restrictions applied. 645 // have restrictions applied.
659 const char kEnableManagedUsers[] = "enable-managed-users"; 646 const char kEnableManagedUsers[] = "enable-managed-users";
660 647
661 // Make the values returned to window.performance.memory more granular and more 648 // Make the values returned to window.performance.memory more granular and more
662 // up to date. Without this flag, the memory information is still available, but 649 // up to date. Without this flag, the memory information is still available, but
663 // it is bucketized and updated less frequently. 650 // it is bucketized and updated less frequently.
664 const char kEnableMemoryInfo[] = "enable-memory-info"; 651 const char kEnableMemoryInfo[] = "enable-memory-info";
665 652
666 // Enables metrics recording and reporting in the browser startup sequence, as 653 // Enables metrics recording and reporting in the browser startup sequence, as
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 // Disables the installation of Portable Native Client. 690 // Disables the installation of Portable Native Client.
704 const char kDisablePnaclInstall[] = "disable-pnacl-install"; 691 const char kDisablePnaclInstall[] = "disable-pnacl-install";
705 692
706 // Enables tracking of tasks in profiler for viewing via about:profiler. 693 // Enables tracking of tasks in profiler for viewing via about:profiler.
707 // To predominantly disable tracking (profiling), use the command line switch: 694 // To predominantly disable tracking (profiling), use the command line switch:
708 // --enable-profiling=0 695 // --enable-profiling=0
709 // Some tracking will still take place at startup, but it will be turned off 696 // Some tracking will still take place at startup, but it will be turned off
710 // during chrome_browser_main. 697 // during chrome_browser_main.
711 const char kEnableProfiling[] = "enable-profiling"; 698 const char kEnableProfiling[] = "enable-profiling";
712 699
700 // Enables query in the omnibox.
701 const char kEnableQueryExtraction[] = "enable-query-extraction";
702
713 // Enables support for the QUIC protocol. This is a temporary testing flag. 703 // Enables support for the QUIC protocol. This is a temporary testing flag.
714 const char kEnableQuic[] = "enable-quic"; 704 const char kEnableQuic[] = "enable-quic";
715 705
716 // Enables support for the HTTPS over QUIC protocol. This is a temporary 706 // Enables support for the HTTPS over QUIC protocol. This is a temporary
717 // testing flag. This only has an effect if QUIC protocol is enabled. 707 // testing flag. This only has an effect if QUIC protocol is enabled.
718 const char kEnableQuicHttps[] = "enable-quic-https"; 708 const char kEnableQuicHttps[] = "enable-quic-https";
719 709
720 // Enables the Quickoffoce/Chrome document viewer rather than the editor. 710 // Enables the Quickoffoce/Chrome document viewer rather than the editor.
721 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; 711 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing";
722 712
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 1650
1661 // ----------------------------------------------------------------------------- 1651 // -----------------------------------------------------------------------------
1662 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1652 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1663 // 1653 //
1664 // You were going to just dump your switches here, weren't you? Instead, please 1654 // You were going to just dump your switches here, weren't you? Instead, please
1665 // put them in alphabetical order above, or in order inside the appropriate 1655 // put them in alphabetical order above, or in order inside the appropriate
1666 // ifdef at the bottom. The order should match the header. 1656 // ifdef at the bottom. The order should match the header.
1667 // ----------------------------------------------------------------------------- 1657 // -----------------------------------------------------------------------------
1668 1658
1669 } // namespace switches 1659 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698