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

Unified Diff: chrome/common/extensions/api/_manifest_features.json

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: repack2 Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/_manifest_features.json
diff --git a/chrome/common/extensions/api/_manifest_features.json b/chrome/common/extensions/api/_manifest_features.json
index 33144b19128e110951d35bd1816f3cbee667a883..583e76b94d81eeb2bcd4f38f02d3a2e4de07e0a7 100644
--- a/chrome/common/extensions/api/_manifest_features.json
+++ b/chrome/common/extensions/api/_manifest_features.json
@@ -2,36 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// See c/c/e/features/* to understand this file, in particular feature.h,
-// simple_feature.h, and base_feature_provider.h.
+// This features file defines manifest keys implemented under src/chrome.
+// See extensions/common/features/* to understand this file, in particular
+// feature.h, simple_feature.h, and base_feature_provider.h.
{
"app": {
"channel": "stable",
"extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
},
- // The default platform app CSP can only be overridden by whitelisted apps.
- // This is a separate key from the top-level content_security_policy one since
- // we can't combine type restrictions with whitelisted ID restrictions. If
- // there is a need for additional whitelisted entries, the feature system
- // should instead be extended to support OR-ing of restrictions.
- "app.content_security_policy": {
- "channel": "stable",
- "extension_types": ["platform_app"],
- "min_manifest_version": 2,
- "whitelist": [
- "nckgahadagoaajjgafhacjanaoiihapd", // Google Talk prod
- "eggnbpckecmjlblplehfpjjdhhidfdoj", // Google Talk beta
- "ppleadejekpmccmnpjdimmlfljlkdfej", // Google Talk alpha
- "ljclpkphhpbpinifbeabbhlfddcpfdde", // Google Talk debug
- "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger
- ]
- },
- "app.background": {
- "channel": "stable",
- "extension_types": ["platform_app"],
- "min_manifest_version": 2
- },
"app.isolation": {
"channel": "stable",
// Platform apps always have isolated storage, thus they cannot specify it
@@ -50,27 +29,6 @@
"channel": "stable",
"extension_types": "all"
},
- "background": {
- "channel": "stable",
- "extension_types": [
- // Platform apps specify their background page via app.background.
- "extension", "legacy_packaged_app", "hosted_app"
- ]
- },
- "background.persistent": {
- "channel": "stable",
- "extension_types": [
- "extension", "legacy_packaged_app"
- ],
- "min_manifest_version": 2
- },
- "background_page": {
- "channel": "stable",
- "extension_types": [
- "extension", "legacy_packaged_app", "hosted_app"
- ],
- "max_manifest_version": 1
- },
"bluetooth": {
// Note: The "bluetooth" manifest permission is used by the
// chrome.bluetooth, chrome.bluetoothSocket and chrome.bluetoothLowEnergy
@@ -120,13 +78,6 @@
"channel": "dev",
"extension_types": ["extension"]
},
- "content_security_policy": {
- "channel": "stable",
- // Platform apps have a restricted content security policy that cannot be
- // overriden (except for a whitelist of exceptions, see the
- // app.content_security_policy whitelist).
- "extension_types": ["extension", "legacy_packaged_app"]
- },
"content_scripts": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
@@ -234,17 +185,6 @@
"channel": "stable",
"extension_types": "all"
},
- "incognito": [
- {
- "channel": "stable",
- "extension_types": ["extension", "legacy_packaged_app"]
- },
- {
- "channel": "stable",
- "extension_types": ["platform_app"],
- "location": "component"
- }
- ],
"input_components": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
@@ -253,18 +193,6 @@
"channel": "stable",
"extension_types": "all"
},
- "kiosk_enabled": {
- "channel": "stable",
- "extension_types": [
- "platform_app"
- ]
- },
- "kiosk_only": {
- "channel": "dev",
- "extension_types": [
- "platform_app"
- ]
- },
"manifest_version": {
"channel": "stable",
"extension_types": "all"
@@ -322,12 +250,6 @@
"E61F841D8210B6A9891E5384CB665FBED31FCD7B" // http://crbug.com/281715
]
},
- "offline_enabled": {
- "channel": "stable",
- "extension_types": [
- "extension", "legacy_packaged_app", "hosted_app", "platform_app"
- ]
- },
"omnibox": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"]
@@ -373,13 +295,6 @@
"extension", "legacy_packaged_app", "hosted_app", "platform_app"
]
},
- "sandbox": {
- "channel": "stable",
- "extension_types": [
- "extension", "platform_app", "legacy_packaged_app"
- ],
- "min_manifest_version": 2
- },
"script_badge": {
"channel": "trunk",
"extension_types": ["extension"]
@@ -392,10 +307,6 @@
"channel": "stable",
"extension_types": "all"
},
- "sockets": {
- "channel": "stable",
- "extension_types": ["platform_app"]
- },
"spellcheck": {
"channel": "dev",
"extension_types": ["extension"]
@@ -428,23 +339,5 @@
"version": {
"channel": "stable",
"extension_types": "all"
- },
- "web_accessible_resources": [
- {
- "channel": "stable",
- "extension_types": [
- "extension", "legacy_packaged_app", "hosted_app"
- ]
- },
- {
- "channel": "stable",
- "extension_types": ["platform_app"],
- "location": "component"
- }
- ],
- "webview": {
- "channel": "stable",
- "extension_types": ["platform_app"],
- "min_manifest_version": 2
}
}
« no previous file with comments | « chrome/common/extensions/api/_api_features.json ('k') | chrome/common/extensions/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698