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

Side by Side Diff: extensions/common/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, 7 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
OLDNEW
(Empty)
1 // Copyright 2014 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.
4
5 // This features file defines manifest keys implemented under src/extensions.
6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h.
8
9 {
10 // The default platform app CSP can only be overridden by whitelisted apps.
11 // This is a separate key from the top-level content_security_policy one since
12 // we can't combine type restrictions with whitelisted ID restrictions. If
13 // there is a need for additional whitelisted entries, the feature system
14 // should instead be extended to support OR-ing of restrictions.
15 "app.content_security_policy": {
16 "channel": "stable",
17 "extension_types": ["platform_app"],
18 "min_manifest_version": 2,
19 "whitelist": [
20 "nckgahadagoaajjgafhacjanaoiihapd", // Google Talk prod
21 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Google Talk beta
22 "ppleadejekpmccmnpjdimmlfljlkdfej", // Google Talk alpha
23 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Google Talk debug
24 "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger
25 ]
26 },
27 "app.background": {
28 "channel": "stable",
29 "extension_types": ["platform_app"],
30 "min_manifest_version": 2
31 },
32 "background": {
33 "channel": "stable",
34 "extension_types": [
35 // Platform apps specify their background page via app.background.
36 "extension", "legacy_packaged_app", "hosted_app"
37 ]
38 },
39 "background.persistent": {
40 "channel": "stable",
41 "extension_types": [
42 "extension", "legacy_packaged_app"
43 ],
44 "min_manifest_version": 2
45 },
46 "background_page": {
47 "channel": "stable",
48 "extension_types": [
49 "extension", "legacy_packaged_app", "hosted_app"
50 ],
51 "max_manifest_version": 1
52 },
53 "content_security_policy": {
54 "channel": "stable",
55 // Platform apps have a restricted content security policy that cannot be
56 // overriden (except for a whitelist of exceptions, see the
57 // app.content_security_policy whitelist).
58 "extension_types": ["extension", "legacy_packaged_app"]
59 },
60 "incognito": [
61 {
62 "channel": "stable",
63 "extension_types": ["extension", "legacy_packaged_app"]
64 },
65 {
66 "channel": "stable",
67 "extension_types": ["platform_app"],
68 "location": "component"
69 }
70 ],
71 "kiosk_enabled": {
72 "channel": "stable",
73 "extension_types": [
74 "platform_app"
75 ]
76 },
77 "kiosk_only": {
78 "channel": "dev",
79 "extension_types": [
80 "platform_app"
81 ]
82 },
83 "offline_enabled": {
84 "channel": "stable",
85 "extension_types": [
86 "extension", "legacy_packaged_app", "hosted_app", "platform_app"
87 ]
88 },
89 "sandbox": {
90 "channel": "stable",
91 "extension_types": [
92 "extension", "platform_app", "legacy_packaged_app"
93 ],
94 "min_manifest_version": 2
95 },
96 "sockets": {
97 "channel": "stable",
98 "extension_types": ["platform_app"]
99 },
100 "web_accessible_resources": [
101 {
102 "channel": "stable",
103 "extension_types": [
104 "extension", "legacy_packaged_app", "hosted_app"
105 ]
106 },
107 {
108 "channel": "stable",
109 "extension_types": ["platform_app"],
110 "location": "component"
111 }
112 ],
113 "webview": {
114 "channel": "stable",
115 "extension_types": ["platform_app"],
116 "min_manifest_version": 2
117 }
118 }
OLDNEW
« no previous file with comments | « extensions/common/api/_api_features.json ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698