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

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: Rebase. 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 // Disable the net::URLRequestThrottlerManager functionality for 362 // Disable the net::URLRequestThrottlerManager functionality for
363 // requests originating from extensions. 363 // requests originating from extensions.
364 const char kDisableExtensionsHttpThrottling[] = 364 const char kDisableExtensionsHttpThrottling[] =
365 "disable-extensions-http-throttling"; 365 "disable-extensions-http-throttling";
366 366
367 // Disable mandatory enforcement of web_accessible_resources in extensions. 367 // Disable mandatory enforcement of web_accessible_resources in extensions.
368 const char kDisableExtensionsResourceWhitelist[] = 368 const char kDisableExtensionsResourceWhitelist[] =
369 "disable-extensions-resource-whitelist"; 369 "disable-extensions-resource-whitelist";
370 370
371 // Disable Instant extended API.
372 const char kDisableInstantExtendedAPI[] = "disable-instant-extended-api";
373
374 // Disables improved SafeBrowsing download protection. 371 // Disables improved SafeBrowsing download protection.
375 const char kDisableImprovedDownloadProtection[] = 372 const char kDisableImprovedDownloadProtection[] =
376 "disable-improved-download-protection"; 373 "disable-improved-download-protection";
377 374
378 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 375 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
379 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 376 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
380 // bugs if something isn't working properly in the presence of IPv6. This flag 377 // bugs if something isn't working properly in the presence of IPv6. This flag
381 // can be overidden by the "enable-ipv6" flag. 378 // can be overidden by the "enable-ipv6" flag.
382 const char kDisableIPv6[] = "disable-ipv6"; 379 const char kDisableIPv6[] = "disable-ipv6";
383 380
384 // Disables IP Pooling within the networks stack (SPDY only). When a connection 381 // Disables IP Pooling within the networks stack (SPDY only). When a connection
385 // is needed for a domain which shares an IP with an existing connection, 382 // is needed for a domain which shares an IP with an existing connection,
386 // attempt to use the existing connection. 383 // attempt to use the existing connection.
387 const char kDisableIPPooling[] = "disable-ip-pooling"; 384 const char kDisableIPPooling[] = "disable-ip-pooling";
388 385
389 // Disable always using the local NTP for the first NTP load of a new window.
390 const char kDisableLocalFirstLoadNTP[] = "disable-local-first-load-ntp";
391
392 // Disable the behavior that the second click on a launcher item (the click when 386 // Disable the behavior that the second click on a launcher item (the click when
393 // the item is already active) minimizes the item. 387 // the item is already active) minimizes the item.
394 const char kDisableMinimizeOnSecondLauncherItemClick[] = 388 const char kDisableMinimizeOnSecondLauncherItemClick[] =
395 "disable-minimize-on-second-launcher-item-click"; 389 "disable-minimize-on-second-launcher-item-click";
396 390
397 // Disables the menu on the NTP for accessing sessions from other devices. 391 // Disables the menu on the NTP for accessing sessions from other devices.
398 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 392 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
399 393
400 // Disables omnibox auto-completion when IME is active. 394 // Disables omnibox auto-completion when IME is active.
401 const char kDisableOmniboxAutoCompletionForIme[] = 395 const char kDisableOmniboxAutoCompletionForIme[] =
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 623
630 // Enables Google Now integration. 624 // Enables Google Now integration.
631 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration"; 625 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration";
632 626
633 // Enable HTTP/2 draft 04. This is a temporary testing flag. 627 // Enable HTTP/2 draft 04. This is a temporary testing flag.
634 const char kEnableHttp2Draft04[] = "enable-http2-draft-04"; 628 const char kEnableHttp2Draft04[] = "enable-http2-draft-04";
635 629
636 // Enables the inline sign in flow on Chrome desktop. 630 // Enables the inline sign in flow on Chrome desktop.
637 const char kEnableInlineSignin[] = "enable-inline-signin"; 631 const char kEnableInlineSignin[] = "enable-inline-signin";
638 632
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 633 // 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 634 // supported. Some probes may require internet connections, and this flag will
645 // allow support independent of application testing. This flag overrides 635 // allow support independent of application testing. This flag overrides
646 // "disable-ipv6" which appears elswhere in this file. 636 // "disable-ipv6" which appears elswhere in this file.
647 const char kEnableIPv6[] = "enable-ipv6"; 637 const char kEnableIPv6[] = "enable-ipv6";
648 638
649 /// Enables the IPC fuzzer for reliability testing 639 /// Enables the IPC fuzzer for reliability testing
650 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; 640 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing";
651 641
652 // 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
653 // 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,
654 // attempt to use the existing connection. 644 // attempt to use the existing connection.
655 const char kEnableIPPooling[] = "enable-ip-pooling"; 645 const char kEnableIPPooling[] = "enable-ip-pooling";
656 646
657 // Enable always using the local NTP for the first NTP load of a new window.
658 const char kEnableLocalFirstLoadNTP[] = "enable-local-first-load-ntp";
659
660 // Enables support for user profiles that are managed by another user and can 647 // Enables support for user profiles that are managed by another user and can
661 // have restrictions applied. 648 // have restrictions applied.
662 const char kEnableManagedUsers[] = "enable-managed-users"; 649 const char kEnableManagedUsers[] = "enable-managed-users";
663 650
664 // Make the values returned to window.performance.memory more granular and more 651 // Make the values returned to window.performance.memory more granular and more
665 // up to date. Without this flag, the memory information is still available, but 652 // up to date. Without this flag, the memory information is still available, but
666 // it is bucketized and updated less frequently. 653 // it is bucketized and updated less frequently.
667 const char kEnableMemoryInfo[] = "enable-memory-info"; 654 const char kEnableMemoryInfo[] = "enable-memory-info";
668 655
669 // Enables metrics recording and reporting in the browser startup sequence, as 656 // Enables metrics recording and reporting in the browser startup sequence, as
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // Disables the installation of Portable Native Client. 693 // Disables the installation of Portable Native Client.
707 const char kDisablePnaclInstall[] = "disable-pnacl-install"; 694 const char kDisablePnaclInstall[] = "disable-pnacl-install";
708 695
709 // Enables tracking of tasks in profiler for viewing via about:profiler. 696 // Enables tracking of tasks in profiler for viewing via about:profiler.
710 // To predominantly disable tracking (profiling), use the command line switch: 697 // To predominantly disable tracking (profiling), use the command line switch:
711 // --enable-profiling=0 698 // --enable-profiling=0
712 // Some tracking will still take place at startup, but it will be turned off 699 // Some tracking will still take place at startup, but it will be turned off
713 // during chrome_browser_main. 700 // during chrome_browser_main.
714 const char kEnableProfiling[] = "enable-profiling"; 701 const char kEnableProfiling[] = "enable-profiling";
715 702
703 // Enables query in the omnibox.
704 const char kEnableQueryExtraction[] = "enable-query-extraction";
705
716 // Enables support for the QUIC protocol. This is a temporary testing flag. 706 // Enables support for the QUIC protocol. This is a temporary testing flag.
717 const char kEnableQuic[] = "enable-quic"; 707 const char kEnableQuic[] = "enable-quic";
718 708
719 // Enables support for the HTTPS over QUIC protocol. This is a temporary 709 // Enables support for the HTTPS over QUIC protocol. This is a temporary
720 // testing flag. This only has an effect if QUIC protocol is enabled. 710 // testing flag. This only has an effect if QUIC protocol is enabled.
721 const char kEnableQuicHttps[] = "enable-quic-https"; 711 const char kEnableQuicHttps[] = "enable-quic-https";
722 712
723 // Enables the Quickoffoce/Chrome document viewer rather than the editor. 713 // Enables the Quickoffoce/Chrome document viewer rather than the editor.
724 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; 714 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing";
725 715
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 1659
1670 // ----------------------------------------------------------------------------- 1660 // -----------------------------------------------------------------------------
1671 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1661 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1672 // 1662 //
1673 // You were going to just dump your switches here, weren't you? Instead, please 1663 // You were going to just dump your switches here, weren't you? Instead, please
1674 // put them in alphabetical order above, or in order inside the appropriate 1664 // put them in alphabetical order above, or in order inside the appropriate
1675 // ifdef at the bottom. The order should match the header. 1665 // ifdef at the bottom. The order should match the header.
1676 // ----------------------------------------------------------------------------- 1666 // -----------------------------------------------------------------------------
1677 1667
1678 } // namespace switches 1668 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698