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

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

Issue 17022004: Replace --google-base-suggest-url and --instant-url with --google-base-url. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 // The time in seconds that an extension event page has between being notified 729 // The time in seconds that an extension event page has between being notified
730 // of its impending unload and that unload happening. 730 // of its impending unload and that unload happening.
731 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; 731 const char kEventPageSuspendingTime[] = "event-page-unloading-time";
732 732
733 // Marks a renderer as extension process. 733 // Marks a renderer as extension process.
734 const char kExtensionProcess[] = "extension-process"; 734 const char kExtensionProcess[] = "extension-process";
735 735
736 // Frequency in seconds for Extensions auto-update. 736 // Frequency in seconds for Extensions auto-update.
737 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 737 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
738 738
739 // Additional query params to insert in the search and instant URLs.
740 const char kExtraSearchQueryParams[] = "extra-search-query-params";
741
739 // Fakes the channel of the browser for purposes of Variations filtering. This 742 // Fakes the channel of the browser for purposes of Variations filtering. This
740 // is to be used for testing only. Possible values are "stable", "beta", "dev" 743 // is to be used for testing only. Possible values are "stable", "beta", "dev"
741 // and "canary". Note that this only applies if the browser's reported channel 744 // and "canary". Note that this only applies if the browser's reported channel
742 // is UNKNOWN. 745 // is UNKNOWN.
743 const char kFakeVariationsChannel[] = "fake-variations-channel"; 746 const char kFakeVariationsChannel[] = "fake-variations-channel";
744 747
745 // These two flags are added around the switches about:flags adds to the 748 // These two flags are added around the switches about:flags adds to the
746 // command line. This is useful to see which switches were added by about:flags 749 // command line. This is useful to see which switches were added by about:flags
747 // on about:version. They don't have any effect. 750 // on about:version. They don't have any effect.
748 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 751 const char kFlagSwitchesBegin[] = "flag-switches-begin";
(...skipping 16 matching lines...) Expand all
765 const char kForceFirstRun[] = "force-first-run"; 768 const char kForceFirstRun[] = "force-first-run";
766 769
767 // Tries to load cloud policy for every signed in user, regardless of whether 770 // Tries to load cloud policy for every signed in user, regardless of whether
768 // they are a dasher user or not. Used to allow any GAIA account to be used for 771 // they are a dasher user or not. Used to allow any GAIA account to be used for
769 // testing the cloud policy framework. 772 // testing the cloud policy framework.
770 const char kForceLoadCloudPolicy[] = "force-load-cloud-policy"; 773 const char kForceLoadCloudPolicy[] = "force-load-cloud-policy";
771 774
772 // Enables using GAIA information to populate profile name and icon. 775 // Enables using GAIA information to populate profile name and icon.
773 const char kGaiaProfileInfo[] = "gaia-profile-info"; 776 const char kGaiaProfileInfo[] = "gaia-profile-info";
774 777
775 // Specifies an alternate URL to use for retrieving suggestions. Useful for 778 // Specifies an alternate URL to use for speaking to Google. Useful for testing.
776 // testing. 779 const char kGoogleBaseURL[] = "google-base-url";
777 const char kGoogleBaseSuggestURL[] = "google-base-suggest-url";
778 780
779 // Specifies an alternate URL to use for retrieving the search domain for 781 // Specifies an alternate URL to use for retrieving the search domain for
780 // Google. Useful for testing. 782 // Google. Useful for testing.
781 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; 783 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url";
782 784
783 // Specifies a custom name for the GSSAPI library to load. 785 // Specifies a custom name for the GSSAPI library to load.
784 const char kGSSAPILibraryName[] = "gssapi-library-name"; 786 const char kGSSAPILibraryName[] = "gssapi-library-name";
785 787
786 // These flags show the man page on Linux. They are equivalent to each 788 // These flags show the man page on Linux. They are equivalent to each
787 // other. 789 // other.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 // (not counting backup attempts which would also consume threads). 828 // (not counting backup attempts which would also consume threads).
827 // --host-resolver-retry-attempts must be set to zero for this to be exact. 829 // --host-resolver-retry-attempts must be set to zero for this to be exact.
828 const char kHostResolverParallelism[] = "host-resolver-parallelism"; 830 const char kHostResolverParallelism[] = "host-resolver-parallelism";
829 831
830 // The maximum number of retry attempts to resolve the host. Set this to zero 832 // The maximum number of retry attempts to resolve the host. Set this to zero
831 // to disable host resolver retry attempts. 833 // to disable host resolver retry attempts.
832 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; 834 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts";
833 835
834 // Causes net::URLFetchers to ignore requests for SSL client certificates, 836 // Causes net::URLFetchers to ignore requests for SSL client certificates,
835 // causing them to attempt an unauthenticated SSL/TLS session. This is intended 837 // causing them to attempt an unauthenticated SSL/TLS session. This is intended
836 // for use when testing various service URLs (eg: kPromoServerURL, kInstantURL, 838 // for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix,
837 // kSbURLPrefix, kSyncServiceURL, etc) 839 // kSyncServiceURL, etc)
838 const char kIgnoreUrlFetcherCertRequests[] = 840 const char kIgnoreUrlFetcherCertRequests[] =
839 "ignore-urlfetcher-cert-requests"; 841 "ignore-urlfetcher-cert-requests";
840 842
841 // Causes the browser to launch directly in incognito mode. 843 // Causes the browser to launch directly in incognito mode.
842 const char kIncognito[] = "incognito"; 844 const char kIncognito[] = "incognito";
843 845
844 // Causes Chrome to attempt to get metadata from the webstore for the 846 // Causes Chrome to attempt to get metadata from the webstore for the
845 // app/extension ID given, and then prompt the user to download and install it. 847 // app/extension ID given, and then prompt the user to download and install it.
846 const char kInstallFromWebstore[] = "install-from-webstore"; 848 const char kInstallFromWebstore[] = "install-from-webstore";
847 849
848 // Marks a renderer as an Instant process. 850 // Marks a renderer as an Instant process.
849 const char kInstantProcess[] = "instant-process"; 851 const char kInstantProcess[] = "instant-process";
850 852
851 // URL to use for instant. If specified this overrides the url from the
852 // TemplateURL.
853 const char kInstantURL[] = "instant-url";
854
855 // Used for testing - keeps browser alive after last browser window closes. 853 // Used for testing - keeps browser alive after last browser window closes.
856 const char kKeepAliveForTest[] = "keep-alive-for-test"; 854 const char kKeepAliveForTest[] = "keep-alive-for-test";
857 855
858 // Enable Kiosk mode. 856 // Enable Kiosk mode.
859 const char kKioskMode[] = "kiosk"; 857 const char kKioskMode[] = "kiosk";
860 858
861 // Print automatically in kiosk mode. |kKioskMode| must be set as well. 859 // Print automatically in kiosk mode. |kKioskMode| must be set as well.
862 // See http://crbug.com/31395. 860 // See http://crbug.com/31395.
863 const char kKioskModePrinting[] = "kiosk-printing"; 861 const char kKioskModePrinting[] = "kiosk-printing";
864 862
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 1625
1628 // ----------------------------------------------------------------------------- 1626 // -----------------------------------------------------------------------------
1629 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1627 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1630 // 1628 //
1631 // You were going to just dump your switches here, weren't you? Instead, please 1629 // You were going to just dump your switches here, weren't you? Instead, please
1632 // put them in alphabetical order above, or in order inside the appropriate 1630 // put them in alphabetical order above, or in order inside the appropriate
1633 // ifdef at the bottom. The order should match the header. 1631 // ifdef at the bottom. The order should match the header.
1634 // ----------------------------------------------------------------------------- 1632 // -----------------------------------------------------------------------------
1635 1633
1636 } // namespace switches 1634 } // namespace switches
OLDNEW
« chrome/browser/google/google_util_unittest.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698