| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Allows the webstorePrivate APIs to return browser (aka sync) login tokens to | 84 // Allows the webstorePrivate APIs to return browser (aka sync) login tokens to |
| 85 // be used for auto-login in the Web Store (normally they do not). | 85 // be used for auto-login in the Web Store (normally they do not). |
| 86 const char kAppsGalleryReturnTokens[] = "apps-gallery-return-tokens"; | 86 const char kAppsGalleryReturnTokens[] = "apps-gallery-return-tokens"; |
| 87 | 87 |
| 88 // The URL to use for the gallery link in the app launcher. | 88 // The URL to use for the gallery link in the app launcher. |
| 89 const char kAppsGalleryURL[] = "apps-gallery-url"; | 89 const char kAppsGalleryURL[] = "apps-gallery-url"; |
| 90 | 90 |
| 91 // The update url used by gallery/webstore extensions. | 91 // The update url used by gallery/webstore extensions. |
| 92 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; | 92 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; |
| 93 | 93 |
| 94 // TODO(asargent) - remove this flag and change uses of it to instead use |
| 95 // kInstallFromWebstore. |
| 96 // |
| 94 // Specifies the URL of an application manifest to retrieve. The user will be | 97 // Specifies the URL of an application manifest to retrieve. The user will be |
| 95 // prompted for consent and the application retrieved/installed if consented. | 98 // prompted for consent and the application retrieved/installed if consented. |
| 96 const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url"; | 99 const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url"; |
| 97 | 100 |
| 98 // Whether to always use the new app install bubble when installing an app. | 101 // Whether to always use the new app install bubble when installing an app. |
| 99 const char kAppsNewInstallBubble[] = "apps-new-install-bubble"; | 102 const char kAppsNewInstallBubble[] = "apps-new-install-bubble"; |
| 100 | 103 |
| 101 // Disable throbber for extension apps. | 104 // Disable throbber for extension apps. |
| 102 const char kAppsNoThrob[] = "apps-no-throb"; | 105 const char kAppsNoThrob[] = "apps-no-throb"; |
| 103 | 106 |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 // setting encodes the target browser and what items to import. | 786 // setting encodes the target browser and what items to import. |
| 784 const char kImport[] = "import"; | 787 const char kImport[] = "import"; |
| 785 | 788 |
| 786 // Performs bookmark importing from an HTML file. The value associated with | 789 // Performs bookmark importing from an HTML file. The value associated with |
| 787 // this setting encodes the file path. It may be used jointly with kImport. | 790 // this setting encodes the file path. It may be used jointly with kImport. |
| 788 const char kImportFromFile[] = "import-from-file"; | 791 const char kImportFromFile[] = "import-from-file"; |
| 789 | 792 |
| 790 // Causes the browser to launch directly in incognito mode. | 793 // Causes the browser to launch directly in incognito mode. |
| 791 const char kIncognito[] = "incognito"; | 794 const char kIncognito[] = "incognito"; |
| 792 | 795 |
| 796 // Causes Chrome to attempt to get metadata from the webstore for the |
| 797 // app/extension ID given, and then prompt the user to download and install it. |
| 798 const char kInstallFromWebstore[] = "install-from-webstore"; |
| 799 |
| 793 // URL to use for instant. If specified this overrides the url from the | 800 // URL to use for instant. If specified this overrides the url from the |
| 794 // TemplateURL. | 801 // TemplateURL. |
| 795 const char kInstantURL[] = "instant-url"; | 802 const char kInstantURL[] = "instant-url"; |
| 796 | 803 |
| 797 // Used for testing - keeps browser alive after last browser window closes. | 804 // Used for testing - keeps browser alive after last browser window closes. |
| 798 const char kKeepAliveForTest[] = "keep-alive-for-test"; | 805 const char kKeepAliveForTest[] = "keep-alive-for-test"; |
| 799 | 806 |
| 800 // Enable Kiosk mode. | 807 // Enable Kiosk mode. |
| 801 const char kKioskMode[] = "kiosk"; | 808 const char kKioskMode[] = "kiosk"; |
| 802 | 809 |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1574 | 1581 |
| 1575 // ----------------------------------------------------------------------------- | 1582 // ----------------------------------------------------------------------------- |
| 1576 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1583 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1577 // | 1584 // |
| 1578 // You were going to just dump your switches here, weren't you? Instead, please | 1585 // You were going to just dump your switches here, weren't you? Instead, please |
| 1579 // put them in alphabetical order above, or in order inside the appropriate | 1586 // put them in alphabetical order above, or in order inside the appropriate |
| 1580 // ifdef at the bottom. The order should match the header. | 1587 // ifdef at the bottom. The order should match the header. |
| 1581 // ----------------------------------------------------------------------------- | 1588 // ----------------------------------------------------------------------------- |
| 1582 | 1589 |
| 1583 } // namespace switches | 1590 } // namespace switches |
| OLD | NEW |