Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / extensions / common / api / _manifest_features.json
blobb9950f048822b471f0059e1358ff0c6d4dc557f1
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   "app": {
20     "channel": "stable",
21     "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
22   },
23   // The default platform app CSP can only be overridden by whitelisted apps.
24   // This is a separate key from the top-level content_security_policy one since
25   // we can't combine type restrictions with whitelisted ID restrictions. If
26   // there is a need for additional whitelisted entries, the feature system
27   // should instead be extended to support OR-ing of restrictions.
28   "app.content_security_policy": {
29     "channel": "stable",
30     "extension_types": ["platform_app"],
31     "min_manifest_version": 2,
32     "whitelist": [
33       "nckgahadagoaajjgafhacjanaoiihapd",  // Google Talk prod
34       "eggnbpckecmjlblplehfpjjdhhidfdoj",  // Google Talk beta
35       "ppleadejekpmccmnpjdimmlfljlkdfej",  // Google Talk alpha
36       "ljclpkphhpbpinifbeabbhlfddcpfdde",   // Google Talk debug
37       "lphgohfeebnhcpiohjndkgbhhkoapkjc" // Apps Debugger
38     ]
39   },
40   "app.background": {
41     "channel": "stable",
42     "extension_types": ["platform_app"],
43     "min_manifest_version": 2
44   },
45   "background": {
46     "channel": "stable",
47     "extension_types": [
48       // Platform apps specify their background page via app.background.
49       "extension", "legacy_packaged_app", "hosted_app"
50     ]
51   },
52   "background.persistent": {
53     "channel": "stable",
54     "extension_types": [
55       "extension", "legacy_packaged_app"
56     ],
57     "min_manifest_version": 2
58   },
59   "background_page": {
60     "channel": "stable",
61     "extension_types": [
62       "extension", "legacy_packaged_app", "hosted_app"
63     ],
64     "max_manifest_version": 1
65   },
66   "bluetooth": [{
67     // Note: The "bluetooth" manifest permission is used by the
68     // chrome.bluetooth, chrome.bluetoothSocket and chrome.bluetoothLowEnergy
69     // APIs.
70     "channel": "stable",
71     "extension_types": ["platform_app"],
72     "platforms": ["chromeos", "win", "mac"]
73   }, {
74     "channel": "stable",
75     "extension_types": ["platform_app"],
76     "platforms": ["linux"],
77     "whitelist": [
78       "9E287A8257E58EFB13E89C86A4B75A3AC4B058D8",  // unit_tests browser_tests
79       "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/396117
80       "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/396117
81       "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",  // http://crbug.com/396117
82       "307E96539209F95A1A8740C713E6998A73657D96",  // http://crbug.com/396117
83       "4F25792AF1AA7483936DE29C07806F203C7170A0",  // http://crbug.com/407693
84       "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // http://crbug.com/407693
85       "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // http://crbug.com/407693
86       "81986D4F846CEDDDB962643FA501D1780DD441BB"   // http://crbug.com/407693
87     ]
88   }],
89   "content_capabilities": [{
90     "channel": "stable",
91     "extension_types": ["extension"],
92     "whitelist": [
93       "950D13BB9B4794F4CA2A68D3597E5DFAA47C88AE",  // Drive
94       "0EEB39B7A9A52CAAE6A072F83320435749B184A4",  // http://crbug.com/481210
95       "D4AF239830E1E038C9B60DA365B1EC9CB3BC5658"   // http://crbug.com/481210
96     ]
97   }, {
98     "channel": "canary",
99     "extension_types": ["extension"]
100   }],
101   "content_security_policy": {
102     "channel": "stable",
103     // Platform apps have a restricted content security policy that cannot be
104     // overriden (except for a whitelist of exceptions, see the
105     // app.content_security_policy whitelist).
106     "extension_types": ["extension", "legacy_packaged_app"]
107   },
108   "copresence" : {
109     "channel": "stable",
110     "extension_types": "all"
111   },
112   "current_locale": {
113     "channel": "stable",
114     "extension_types": "all"
115   },
116   "default_locale": {
117     "channel": "stable",
118     "extension_types": "all"
119   },
120   "description": {
121     "channel": "stable",
122     "extension_types": "all"
123   },
124   "externally_connectable": {
125     "channel": "stable",
126     "extension_types": [
127       "extension", "hosted_app", "legacy_packaged_app", "platform_app"
128     ]
129   },
130   "file_handlers": [
131     {
132       "channel": "stable",
133       "extension_types": ["platform_app"]
134     }, {
135       "channel": "stable",
136       "extension_types": [ "extension"],
137       "whitelist": [
138         "2FC374607C2DF285634B67C64A2E356C607091C3",  // Quickoffice
139         "3727DD3E564B6055387425027AD74C58784ACC15",  // Quickoffice internal
140         "12E618C3C6E97495AAECF2AC12DEB082353241C6"   // QO component extension
141       ]
142     }
143   ],
144   "icons": {
145     "channel": "stable",
146     "extension_types": "all"
147   },
148   "incognito": [
149     {
150       "channel": "stable",
151       "extension_types": ["extension", "legacy_packaged_app"]
152     },
153     {
154       "channel": "stable",
155       "extension_types": ["platform_app"],
156       "location": "component"
157     }
158   ],
159   "key": {
160     "channel": "stable",
161     "extension_types": "all"
162   },
163   "kiosk_enabled": {
164     "channel": "stable",
165     "extension_types": [
166       "platform_app"
167     ]
168   },
169   "kiosk_only": {
170     "channel": "dev",
171     "extension_types": [
172       "platform_app"
173     ]
174   },
175   "launcher_page": {
176     "channel": "stable",
177     "min_manifest_version": 2,
178     "extension_types": ["platform_app"],
179     "whitelist": [
180       "07BD6A765FFC289FF755D7CAB2893A40EC337FEC",  // http://crbug.com/404000
181       "896B85CC7E913E11C34892C1425A093C0701D386",  // http://crbug.com/404000
182       "11A01C82EF355E674E4F9728A801F5C3CB40D83F",  // http://crbug.com/404000
183       "F410C88469990EE7947450311D24B8AF2ADB2595"   // http://crbug.com/404000
184     ]
185   },
186   "manifest_version": {
187     "channel": "stable",
188     "extension_types": "all"
189   },
190   "mime_types": {
191     "channel": "stable",
192     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
193     "whitelist": [
194       "oickdpebdnfbgkcaoklfcdhjniefkcji",  // browser_tests
195       "gbkeegbaiigmenfmjfclcdgdpimamgkj",  // QuickOffice
196       "ionpfmkccalenbmnddpbmocokhaknphg",  // QuickOffice Dev
197       "bpmcpldpdmajfigpchkicefoigmkfalc",  // Quickoffice component extension
198       "ehibbfinohgbchlgdbfpikodjaojhccn",  // Editor
199       "mhjfbmdgcfjbbpaeojofohoefgiehjai"   // PDF
200     ]
201   },
202   "mime_types_handler": {
203     "channel": "stable",
204     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ],
205     "whitelist": [
206       "oickdpebdnfbgkcaoklfcdhjniefkcji",  // browser_tests
207       "mhjfbmdgcfjbbpaeojofohoefgiehjai"   // PDF
208     ]
209   },
210   "nacl_modules": {
211     "channel": "stable",
212     "extension_types": [
213       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
214     ]
215   },
216   "name": {
217     "channel": "stable",
218     "extension_types": "all"
219   },
220   "oauth2": {
221     "channel": "stable",
222     "extension_types": [
223       "extension", "legacy_packaged_app", "platform_app"
224     ]
225   },
226   "oauth2.auto_approve": {
227     "channel": "stable",
228     "extension_types": [
229       "extension", "platform_app"
230     ],
231     "whitelist": [
232       "mdbihdcgjmagbcapkhhkjbbdlkflmbfo",  // unit_tests
233       "pafkbggdmjlpgkdkcbjmhmfcdpncadgh",  // Google Now
234       "nmmhkkegccagdldgiimedpiccmgmieda",  // In-app payments support app.
235       "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",
236       "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",
237       "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",  // TODO(rockot): Kill these.
238       "E61F841D8210B6A9891E5384CB665FBED31FCD7B",  // http://crbug.com/281715
240       "07BD6A765FFC289FF755D7CAB2893A40EC337FEC",  // http://crbug.com/430730
241       "896B85CC7E913E11C34892C1425A093C0701D386",  // http://crbug.com/430730
242       "11A01C82EF355E674E4F9728A801F5C3CB40D83F",  // http://crbug.com/430730
243       "F410C88469990EE7947450311D24B8AF2ADB2595",  // http://crbug.com/430730
245       // TODO(joaodasilva): remove these two once we have the new policy to
246       // grant auto approval by ID. http://crbug.com/399392
247       "A8208CCC87F8261AFAEB6B85D5E8D47372DDEA6B",
248       "A4577D8C2AF4CF26F40CBCA83FFA4251D6F6C8F8"
249     ]
250   },
251   "offline_enabled": {
252     "channel": "stable",
253     "extension_types": [
254       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
255     ]
256   },
257   "options_ui": {
258     "channel": "stable",
259     "extension_types": ["extension", "legacy_packaged_app"]
260   },
261   "sandbox": {
262     "channel": "stable",
263     "extension_types": [
264       "extension", "platform_app", "legacy_packaged_app"
265     ],
266     "min_manifest_version": 2
267   },
268   "sockets": {
269     "channel": "stable",
270     "extension_types": ["platform_app"]
271   },
272   "usb_printers": {
273     "channel": "dev",
274     "extension_types": ["platform_app"]
275   },
276   "version": {
277     "channel": "stable",
278     "extension_types": "all"
279   },
280   "version_name": {
281     "channel": "stable",
282     "extension_types": "all"
283   },
284   "web_accessible_resources": [
285     {
286       "channel": "stable",
287       "extension_types": [
288         "extension", "legacy_packaged_app", "hosted_app"
289       ]
290     },
291     {
292       "channel": "stable",
293       "extension_types": ["platform_app"],
294       "location": "component"
295     }
296   ],
297   "webview": {
298     "channel": "stable",
299     "extension_types": ["platform_app"],
300     "min_manifest_version": 2
301   }