Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / extensions / common / api / _manifest_features.json
blob271eea78558a916f5462fe0caf4de2e1e48bda44
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.
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.
9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
12 // sha1sum | tr '[:lower:]' '[:upper:]'
13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA  -
15 // Google employees: please update http://go/chrome-api-whitelist to map
16 // hashes back to ids.
19   // The default platform app CSP can only be overridden by whitelisted apps.
20   // This is a separate key from the top-level content_security_policy one since
21   // we can't combine type restrictions with whitelisted ID restrictions. If
22   // there is a need for additional whitelisted entries, the feature system
23   // should instead be extended to support OR-ing of restrictions.
24   "app.content_security_policy": {
25     "channel": "stable",
26     "extension_types": ["platform_app"],
27     "min_manifest_version": 2,
28     "whitelist": [
29       "nckgahadagoaajjgafhacjanaoiihapd",  // Google Talk prod
30       "eggnbpckecmjlblplehfpjjdhhidfdoj",  // Google Talk beta
31       "ppleadejekpmccmnpjdimmlfljlkdfej",  // Google Talk alpha
32       "ljclpkphhpbpinifbeabbhlfddcpfdde",   // Google Talk debug
33       "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger
34     ]
35   },
36   "app.background": {
37     "channel": "stable",
38     "extension_types": ["platform_app"],
39     "min_manifest_version": 2
40   },
41   "background": {
42     "channel": "stable",
43     "extension_types": [
44       // Platform apps specify their background page via app.background.
45       "extension", "legacy_packaged_app", "hosted_app"
46     ]
47   },
48   "background.persistent": {
49     "channel": "stable",
50     "extension_types": [
51       "extension", "legacy_packaged_app"
52     ],
53     "min_manifest_version": 2
54   },
55   "background_page": {
56     "channel": "stable",
57     "extension_types": [
58       "extension", "legacy_packaged_app", "hosted_app"
59     ],
60     "max_manifest_version": 1
61   },
62   "content_security_policy": {
63     "channel": "stable",
64     // Platform apps have a restricted content security policy that cannot be
65     // overriden (except for a whitelist of exceptions, see the
66     // app.content_security_policy whitelist).
67     "extension_types": ["extension", "legacy_packaged_app"]
68   },
69   "incognito": [
70     {
71       "channel": "stable",
72       "extension_types": ["extension", "legacy_packaged_app"]
73     },
74     {
75       "channel": "stable",
76       "extension_types": ["platform_app"],
77       "location": "component"
78     }
79   ],
80   "kiosk_enabled": {
81     "channel": "stable",
82     "extension_types": [
83       "platform_app"
84     ]
85   },
86   "kiosk_only": {
87     "channel": "dev",
88     "extension_types": [
89       "platform_app"
90     ]
91   },
92   "offline_enabled": {
93     "channel": "stable",
94     "extension_types": [
95       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
96     ]
97   },
98   "sandbox": {
99     "channel": "stable",
100     "extension_types": [
101       "extension", "platform_app", "legacy_packaged_app"
102     ],
103     "min_manifest_version": 2
104   },
105   "sockets": {
106     "channel": "stable",
107     "extension_types": ["platform_app"]
108   },
109   "web_accessible_resources": [
110     {
111       "channel": "stable",
112       "extension_types": [
113         "extension", "legacy_packaged_app", "hosted_app"
114       ]
115     },
116     {
117       "channel": "stable",
118       "extension_types": ["platform_app"],
119       "location": "component"
120     }
121   ],
122   "webview": {
123     "channel": "stable",
124     "extension_types": ["platform_app"],
125     "min_manifest_version": 2
126   }