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

Side by Side Diff: extensions/common/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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/common/switches.h" 5 #include "extensions/common/switches.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace switches { 9 namespace switches {
10 10
11 // Allows the browser to load extensions that lack a modern manifest when that 11 // Allows the browser to load extensions that lack a modern manifest when that
12 // would otherwise be forbidden. 12 // would otherwise be forbidden.
13 const char kAllowLegacyExtensionManifests[] = 13 const char kAllowLegacyExtensionManifests[] =
14 "allow-legacy-extension-manifests"; 14 "allow-legacy-extension-manifests";
15 15
16 // Allows injecting extensions and user scripts on the extensions gallery 16 // Allows injecting extensions and user scripts on the extensions gallery
17 // site. Normally prevented for security reasons, but can be useful for 17 // site. Normally prevented for security reasons, but can be useful for
18 // automation testing of the gallery. 18 // automation testing of the gallery.
19 const char kAllowScriptingGallery[] = "allow-scripting-gallery"; 19 const char kAllowScriptingGallery[] = "allow-scripting-gallery";
20 20
21 // The URL to use for the gallery link in the app launcher.
22 const char kAppsGalleryURL[] = "apps-gallery-url";
23
21 // Enables extension APIs that are in development. 24 // Enables extension APIs that are in development.
22 const char kEnableExperimentalExtensionApis[] = 25 const char kEnableExperimentalExtensionApis[] =
23 "enable-experimental-extension-apis"; 26 "enable-experimental-extension-apis";
24 27
25 // Allows the ErrorConsole to collect runtime and manifest errors, and display 28 // Allows the ErrorConsole to collect runtime and manifest errors, and display
26 // them in the chrome:extensions page. 29 // them in the chrome:extensions page.
27 const char kErrorConsole[] = "error-console"; 30 const char kErrorConsole[] = "error-console";
28 31
29 // The time in seconds that an extension event page can be idle before it 32 // The time in seconds that an extension event page can be idle before it
30 // is shut down. 33 // is shut down.
31 const char kEventPageIdleTime[] = "event-page-idle-time"; 34 const char kEventPageIdleTime[] = "event-page-idle-time";
32 35
33 // The time in seconds that an extension event page has between being notified 36 // The time in seconds that an extension event page has between being notified
34 // of its impending unload and that unload happening. 37 // of its impending unload and that unload happening.
35 const char kEventPageSuspendingTime[] = "event-page-unloading-time"; 38 const char kEventPageSuspendingTime[] = "event-page-unloading-time";
36 39
37 // Enables extensions running scripts on chrome:// URLs. 40 // Enables extensions running scripts on chrome:// URLs.
38 // Extensions still need to explicitly request access to chrome:// URLs in the 41 // Extensions still need to explicitly request access to chrome:// URLs in the
39 // manifest. 42 // manifest.
40 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls"; 43 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
41 44
42 // Makes component extensions appear in chrome://settings/extensions. 45 // Makes component extensions appear in chrome://settings/extensions.
43 const char kShowComponentExtensionOptions[] = 46 const char kShowComponentExtensionOptions[] =
44 "show-component-extension-options"; 47 "show-component-extension-options";
45 48
46 } // namespace switches 49 } // namespace switches
47 50
48 } // namespace extensions 51 } // namespace extensions
OLDNEW
« extensions/common/extension_urls.cc ('K') | « extensions/common/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698