| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // Note: the URL must contain one '%s' for the extension ID. | 89 // Note: the URL must contain one '%s' for the extension ID. |
| 90 const char kAppsGalleryDownloadURL[] = "apps-gallery-download-url"; | 90 const char kAppsGalleryDownloadURL[] = "apps-gallery-download-url"; |
| 91 | 91 |
| 92 // A setting to cause extension/app installs from the webstore skip the normal | 92 // A setting to cause extension/app installs from the webstore skip the normal |
| 93 // confirmation dialog. A value of 'accept' means to always act as if the dialog | 93 // confirmation dialog. A value of 'accept' means to always act as if the dialog |
| 94 // was accepted, and 'cancel' means to always act as if the dialog was | 94 // was accepted, and 'cancel' means to always act as if the dialog was |
| 95 // cancelled. | 95 // cancelled. |
| 96 const char kAppsGalleryInstallAutoConfirmForTests[] = | 96 const char kAppsGalleryInstallAutoConfirmForTests[] = |
| 97 "apps-gallery-install-auto-confirm-for-tests"; | 97 "apps-gallery-install-auto-confirm-for-tests"; |
| 98 | 98 |
| 99 // The URL to use for the gallery link in the app launcher. | |
| 100 const char kAppsGalleryURL[] = "apps-gallery-url"; | |
| 101 | |
| 102 // The update url used by gallery/webstore extensions. | 99 // The update url used by gallery/webstore extensions. |
| 103 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; | 100 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; |
| 104 | 101 |
| 105 // Value of GAIA auth code for --force-app-mode. | 102 // Value of GAIA auth code for --force-app-mode. |
| 106 const char kAppModeAuthCode[] = "app-mode-auth-code"; | 103 const char kAppModeAuthCode[] = "app-mode-auth-code"; |
| 107 | 104 |
| 108 // Value of OAuth2 refresh token for --force-app-mode. | 105 // Value of OAuth2 refresh token for --force-app-mode. |
| 109 const char kAppModeOAuth2Token[] = "app-mode-oauth-token"; | 106 const char kAppModeOAuth2Token[] = "app-mode-oauth-token"; |
| 110 | 107 |
| 111 // Whether to always use the new app install bubble when installing an app. | 108 // Whether to always use the new app install bubble when installing an app. |
| (...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1654 | 1651 |
| 1655 // ----------------------------------------------------------------------------- | 1652 // ----------------------------------------------------------------------------- |
| 1656 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1653 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1657 // | 1654 // |
| 1658 // You were going to just dump your switches here, weren't you? Instead, please | 1655 // You were going to just dump your switches here, weren't you? Instead, please |
| 1659 // put them in alphabetical order above, or in order inside the appropriate | 1656 // put them in alphabetical order above, or in order inside the appropriate |
| 1660 // ifdef at the bottom. The order should match the header. | 1657 // ifdef at the bottom. The order should match the header. |
| 1661 // ----------------------------------------------------------------------------- | 1658 // ----------------------------------------------------------------------------- |
| 1662 | 1659 |
| 1663 } // namespace switches | 1660 } // namespace switches |
| OLD | NEW |