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

Side by Side Diff: extensions/common/switches.cc

Issue 19678004: Move UserScript and Extension switches to top-level extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/common/user_script.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
Matt Perry 2013/07/17 22:28:30 Any reason you picked these 4 switches? This is a
Yoyo Zhou 2013/07/17 22:36:14 These are the ones that are used in extension.cc.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "extensions/common/switches.h"
6
7 namespace extensions {
8
9 namespace switches {
10
11 // Allows the browser to load extensions that lack a modern manifest when that
12 // would otherwise be forbidden.
13 const char kAllowLegacyExtensionManifests[] =
14 "allow-legacy-extension-manifests";
15
16 // Allows injecting extensions and user scripts on the extensions gallery
17 // site. Normally prevented for security reasons, but can be useful for
18 // automation testing of the gallery.
19 const char kAllowScriptingGallery[] = "allow-scripting-gallery";
20
21 // Enables extensions running scripts on chrome:// URLs.
22 // Extensions still need to explicitly request access to chrome:// URLs in the
23 // manifest.
24 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
25
26 // Makes component extensions appear in chrome://settings/extensions.
27 const char kShowComponentExtensionOptions[] =
28 "show-component-extension-options";
29
30 } // namespace switches
31
32 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/common/user_script.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698