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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 const char kForceFirstRun[] = "force-first-run"; | 769 const char kForceFirstRun[] = "force-first-run"; |
770 | 770 |
771 // Tries to load cloud policy for every signed in user, regardless of whether | 771 // Tries to load cloud policy for every signed in user, regardless of whether |
772 // they are a dasher user or not. Used to allow any GAIA account to be used for | 772 // they are a dasher user or not. Used to allow any GAIA account to be used for |
773 // testing the cloud policy framework. | 773 // testing the cloud policy framework. |
774 const char kForceLoadCloudPolicy[] = "force-load-cloud-policy"; | 774 const char kForceLoadCloudPolicy[] = "force-load-cloud-policy"; |
775 | 775 |
776 // Enables using GAIA information to populate profile name and icon. | 776 // Enables using GAIA information to populate profile name and icon. |
777 const char kGaiaProfileInfo[] = "gaia-profile-info"; | 777 const char kGaiaProfileInfo[] = "gaia-profile-info"; |
778 | 778 |
779 // Specifies an alternate URL to use for retrieving suggestions. Useful for | 779 // Specifies an alternate URL to use for speaking to Google. Useful for testing. |
780 // testing. | 780 const char kGoogleBaseURL[] = "google-base-url"; |
781 const char kGoogleBaseSuggestURL[] = "google-base-suggest-url"; | |
782 | 781 |
783 // Specifies an alternate URL to use for retrieving the search domain for | 782 // Specifies an alternate URL to use for retrieving the search domain for |
784 // Google. Useful for testing. | 783 // Google. Useful for testing. |
785 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; | 784 const char kGoogleSearchDomainCheckURL[] = "google-search-domain-check-url"; |
786 | 785 |
787 // Specifies a custom name for the GSSAPI library to load. | 786 // Specifies a custom name for the GSSAPI library to load. |
788 const char kGSSAPILibraryName[] = "gssapi-library-name"; | 787 const char kGSSAPILibraryName[] = "gssapi-library-name"; |
789 | 788 |
790 // These flags show the man page on Linux. They are equivalent to each | 789 // These flags show the man page on Linux. They are equivalent to each |
791 // other. | 790 // other. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 // (not counting backup attempts which would also consume threads). | 829 // (not counting backup attempts which would also consume threads). |
831 // --host-resolver-retry-attempts must be set to zero for this to be exact. | 830 // --host-resolver-retry-attempts must be set to zero for this to be exact. |
832 const char kHostResolverParallelism[] = "host-resolver-parallelism"; | 831 const char kHostResolverParallelism[] = "host-resolver-parallelism"; |
833 | 832 |
834 // The maximum number of retry attempts to resolve the host. Set this to zero | 833 // The maximum number of retry attempts to resolve the host. Set this to zero |
835 // to disable host resolver retry attempts. | 834 // to disable host resolver retry attempts. |
836 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; | 835 const char kHostResolverRetryAttempts[] = "host-resolver-retry-attempts"; |
837 | 836 |
838 // Causes net::URLFetchers to ignore requests for SSL client certificates, | 837 // Causes net::URLFetchers to ignore requests for SSL client certificates, |
839 // causing them to attempt an unauthenticated SSL/TLS session. This is intended | 838 // causing them to attempt an unauthenticated SSL/TLS session. This is intended |
840 // for use when testing various service URLs (eg: kPromoServerURL, kInstantURL, | 839 // for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix, |
841 // kSbURLPrefix, kSyncServiceURL, etc) | 840 // kSyncServiceURL, etc) |
842 const char kIgnoreUrlFetcherCertRequests[] = | 841 const char kIgnoreUrlFetcherCertRequests[] = |
843 "ignore-urlfetcher-cert-requests"; | 842 "ignore-urlfetcher-cert-requests"; |
844 | 843 |
845 // Causes the browser to launch directly in incognito mode. | 844 // Causes the browser to launch directly in incognito mode. |
846 const char kIncognito[] = "incognito"; | 845 const char kIncognito[] = "incognito"; |
847 | 846 |
848 // Causes Chrome to attempt to get metadata from the webstore for the | 847 // Causes Chrome to attempt to get metadata from the webstore for the |
849 // app/extension ID given, and then prompt the user to download and install it. | 848 // app/extension ID given, and then prompt the user to download and install it. |
850 const char kInstallFromWebstore[] = "install-from-webstore"; | 849 const char kInstallFromWebstore[] = "install-from-webstore"; |
851 | 850 |
852 // Marks a renderer as an Instant process. | 851 // Marks a renderer as an Instant process. |
853 const char kInstantProcess[] = "instant-process"; | 852 const char kInstantProcess[] = "instant-process"; |
854 | 853 |
855 // URL to use for instant. If specified this overrides the url from the | |
856 // TemplateURL. | |
857 const char kInstantURL[] = "instant-url"; | |
858 | |
859 // Used for testing - keeps browser alive after last browser window closes. | 854 // Used for testing - keeps browser alive after last browser window closes. |
860 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 855 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
861 | 856 |
862 // Enable Kiosk mode. | 857 // Enable Kiosk mode. |
863 const char kKioskMode[] = "kiosk"; | 858 const char kKioskMode[] = "kiosk"; |
864 | 859 |
865 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 860 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
866 // See http://crbug.com/31395. | 861 // See http://crbug.com/31395. |
867 const char kKioskModePrinting[] = "kiosk-printing"; | 862 const char kKioskModePrinting[] = "kiosk-printing"; |
868 | 863 |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1615 | 1610 |
1616 // ----------------------------------------------------------------------------- | 1611 // ----------------------------------------------------------------------------- |
1617 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1612 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1618 // | 1613 // |
1619 // You were going to just dump your switches here, weren't you? Instead, please | 1614 // You were going to just dump your switches here, weren't you? Instead, please |
1620 // put them in alphabetical order above, or in order inside the appropriate | 1615 // put them in alphabetical order above, or in order inside the appropriate |
1621 // ifdef at the bottom. The order should match the header. | 1616 // ifdef at the bottom. The order should match the header. |
1622 // ----------------------------------------------------------------------------- | 1617 // ----------------------------------------------------------------------------- |
1623 | 1618 |
1624 } // namespace switches | 1619 } // namespace switches |
OLD | NEW |