| Index: extensions/common/api/_manifest_features.json
|
| diff --git a/extensions/common/api/_manifest_features.json b/extensions/common/api/_manifest_features.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60d0a2d00b3144d9178de2e5610ca4571287718e
|
| --- /dev/null
|
| +++ b/extensions/common/api/_manifest_features.json
|
| @@ -0,0 +1,118 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// This features file defines manifest keys implemented under src/extensions.
|
| +// See extensions/common/features/* to understand this file, in particular
|
| +// feature.h, simple_feature.h, and base_feature_provider.h.
|
| +
|
| +{
|
| + // 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
|
| + },
|
| + "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
|
| + },
|
| + "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"]
|
| + },
|
| + "incognito": [
|
| + {
|
| + "channel": "stable",
|
| + "extension_types": ["extension", "legacy_packaged_app"]
|
| + },
|
| + {
|
| + "channel": "stable",
|
| + "extension_types": ["platform_app"],
|
| + "location": "component"
|
| + }
|
| + ],
|
| + "kiosk_enabled": {
|
| + "channel": "stable",
|
| + "extension_types": [
|
| + "platform_app"
|
| + ]
|
| + },
|
| + "kiosk_only": {
|
| + "channel": "dev",
|
| + "extension_types": [
|
| + "platform_app"
|
| + ]
|
| + },
|
| + "offline_enabled": {
|
| + "channel": "stable",
|
| + "extension_types": [
|
| + "extension", "legacy_packaged_app", "hosted_app", "platform_app"
|
| + ]
|
| + },
|
| + "sandbox": {
|
| + "channel": "stable",
|
| + "extension_types": [
|
| + "extension", "platform_app", "legacy_packaged_app"
|
| + ],
|
| + "min_manifest_version": 2
|
| + },
|
| + "sockets": {
|
| + "channel": "stable",
|
| + "extension_types": ["platform_app"]
|
| + },
|
| + "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
|
| + }
|
| +}
|
|
|