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

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

Issue 65163003: Move GetWebstoreLaunchURL and GetWebstoreItemDetailURLPrefix to extensions/common/extension_urls.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 1656
1660 // ----------------------------------------------------------------------------- 1657 // -----------------------------------------------------------------------------
1661 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1658 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1662 // 1659 //
1663 // You were going to just dump your switches here, weren't you? Instead, please 1660 // You were going to just dump your switches here, weren't you? Instead, please
1664 // put them in alphabetical order above, or in order inside the appropriate 1661 // put them in alphabetical order above, or in order inside the appropriate
1665 // ifdef at the bottom. The order should match the header. 1662 // ifdef at the bottom. The order should match the header.
1666 // ----------------------------------------------------------------------------- 1663 // -----------------------------------------------------------------------------
1667 1664
1668 } // namespace switches 1665 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698