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

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

Issue 617833003: Remove --install-from-webstore and --limited-install-from-webstore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698