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
3 // found in the LICENSE file.
5 #include "extensions/common/switches.h"
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";
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";
21 // Enables extension APIs that are in development.
22 const char kEnableExperimentalExtensionApis[] =
23 "enable-experimental-extension-apis";
25 // Allows the ErrorConsole to collect runtime and manifest errors, and display
26 // them in the chrome:extensions page.
27 const char kErrorConsole[] = "error-console";
29 // Enables extensions running scripts on chrome:// URLs.
30 // Extensions still need to explicitly request access to chrome:// URLs in the
32 const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
34 // Makes component extensions appear in chrome://settings/extensions.
35 const char kShowComponentExtensionOptions[] =
36 "show-component-extension-options";
38 } // namespace switches
40 } // namespace extensions