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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 "ignore-urlfetcher-cert-requests"; | 735 "ignore-urlfetcher-cert-requests"; |
736 | 736 |
737 // Causes the browser to launch directly in incognito mode. | 737 // Causes the browser to launch directly in incognito mode. |
738 const char kIncognito[] = "incognito"; | 738 const char kIncognito[] = "incognito"; |
739 | 739 |
740 // Causes Chrome to initiate an installation flow for the given app. | 740 // Causes Chrome to initiate an installation flow for the given app. |
741 const char kInstallChromeApp[] = "install-chrome-app"; | 741 const char kInstallChromeApp[] = "install-chrome-app"; |
742 | 742 |
743 // Causes Chrome to attempt to get metadata from the webstore for the | 743 // Causes Chrome to attempt to get metadata from the webstore for the |
744 // app/extension ID given, and then prompt the user to download and install it. | 744 // app/extension ID given, and then prompt the user to download and install it. |
745 const char kInstallFromWebstore[] = "install-from-webstore"; | 745 // This is allowed *only* for ephemeral apps. All other ids will be ignored. |
| 746 const char kInstallEphemeralAppFromWebstore[] = |
| 747 "install-ephemeral-app-from-webstore"; |
746 | 748 |
747 // Marks a renderer as an Instant process. | 749 // Marks a renderer as an Instant process. |
748 const char kInstantProcess[] = "instant-process"; | 750 const char kInstantProcess[] = "instant-process"; |
749 | 751 |
750 // Invalidation service should use GCM network channel even if experiment is not | 752 // Invalidation service should use GCM network channel even if experiment is not |
751 // enabled. | 753 // enabled. |
752 const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel"; | 754 const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel"; |
753 | 755 |
754 // Enables experimental Harmony (ECMAScript 6) features. | 756 // Enables experimental Harmony (ECMAScript 6) features. |
755 const char kJavaScriptHarmony[] = "javascript-harmony"; | 757 const char kJavaScriptHarmony[] = "javascript-harmony"; |
756 | 758 |
757 // Specifies the testcase used by the IPC fuzzer. | 759 // Specifies the testcase used by the IPC fuzzer. |
758 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 760 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
759 | 761 |
760 // Used for testing - keeps browser alive after last browser window closes. | 762 // Used for testing - keeps browser alive after last browser window closes. |
761 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 763 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
762 | 764 |
763 // Enable Kiosk mode. | 765 // Enable Kiosk mode. |
764 const char kKioskMode[] = "kiosk"; | 766 const char kKioskMode[] = "kiosk"; |
765 | 767 |
766 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 768 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
767 // See http://crbug.com/31395. | 769 // See http://crbug.com/31395. |
768 const char kKioskModePrinting[] = "kiosk-printing"; | 770 const char kKioskModePrinting[] = "kiosk-printing"; |
769 | 771 |
770 // Causes Chrome to attempt to get metadata from the webstore for the | |
771 // given item, and then prompt the user to download and install it. | |
772 const char kLimitedInstallFromWebstore[] = "limited-install-from-webstore"; | |
773 | |
774 // Comma-separated list of directories with component extensions to load. | 772 // Comma-separated list of directories with component extensions to load. |
775 const char kLoadComponentExtension[] = "load-component-extension"; | 773 const char kLoadComponentExtension[] = "load-component-extension"; |
776 | 774 |
777 // Loads an extension from the specified directory. | 775 // Loads an extension from the specified directory. |
778 const char kLoadExtension[] = "load-extension"; | 776 const char kLoadExtension[] = "load-extension"; |
779 | 777 |
780 // Makes Chrome default browser | 778 // Makes Chrome default browser |
781 const char kMakeDefaultBrowser[] = "make-default-browser"; | 779 const char kMakeDefaultBrowser[] = "make-default-browser"; |
782 | 780 |
783 // Use to opt-in user into Finch experiment groups. | 781 // Use to opt-in user into Finch experiment groups. |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1351 | 1349 |
1352 // ----------------------------------------------------------------------------- | 1350 // ----------------------------------------------------------------------------- |
1353 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1351 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1354 // | 1352 // |
1355 // You were going to just dump your switches here, weren't you? Instead, please | 1353 // You were going to just dump your switches here, weren't you? Instead, please |
1356 // put them in alphabetical order above, or in order inside the appropriate | 1354 // put them in alphabetical order above, or in order inside the appropriate |
1357 // ifdef at the bottom. The order should match the header. | 1355 // ifdef at the bottom. The order should match the header. |
1358 // ----------------------------------------------------------------------------- | 1356 // ----------------------------------------------------------------------------- |
1359 | 1357 |
1360 } // namespace switches | 1358 } // namespace switches |
OLD | NEW |