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 permissions for extension APIs implemented
6 // under src/extensions.
8 // See extensions/common/features/* to understand this file, in particular
9 // feature.h, simple_feature.h, and base_feature_provider.h.
11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
14 // sha1sum | tr '[:lower:]' '[:upper:]'
15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA -
17 // Google employees: please update http://go/chrome-api-whitelist to map
18 // hashes back to ids.
20 // If you add a new platform_app permission please update the "stubs_app" test:
21 // chrome/test/data/extensions/api_test/stubs_app/manifest.json
24 "app.window.alwaysOnTop": {
26 "extension_types": ["platform_app"]
28 "app.window.fullscreen": {
30 "extension_types": ["platform_app"]
32 "app.window.fullscreen.overrideEsc": {
34 "extension_types": ["platform_app"]
39 "extension_types": ["platform_app"]
43 "extension_types": ["platform_app"],
45 "0F42756099D914A026DADFA182871C015735DD95", // http://crbug.com/323773
46 "2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7",
47 "E7E2461CE072DF036CF9592740196159E2D7C089", // http://crbug.com/356200
48 "A74A4D44C7CFCD8844830E6140C8D763E12DD8F3",
49 "312745D9BF916161191143F6490085EEA0434997",
50 "53041A2FA309EECED01FFC751E7399186E860B2C",
51 "A07A5B743CD82A1C2579DB77D353C98A23201EEF", // http://crbug.com/413748
52 "F16F23C83C5F6DAD9B65A120448B34056DD80691",
53 "0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B"
58 "extension_types": ["extension"],
60 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // http://crbug.com/425539
61 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33"
67 "extension_types": ["platform_app"]
72 "extension_types": ["extension"],
73 "platforms": ["chromeos"],
75 "06BE211D5F014BAB34BC22D9DDA09C63A81D828E",
76 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33"
82 "extension_types": ["platform_app"]
87 "extension_types": ["platform_app"]
91 "extension_types": ["extension"],
93 // http://crbug.com/292856
94 "3F50C3A83839D9C76334BCE81CDEC06174F266AF",
95 "09FDCB5851B8F3378DB630D06E316076E89C95A6",
96 "39BE69F11F68E4EED080DA3DC2394F7885B7AFF9",
97 "FF78670081967CE21DB86A04AD94A0498F01E20A",
98 // Hotword component extension
99 "62CCAAD339E6451BBF97C4BBDF758E934A05AD0B"
103 "bluetoothPrivate": {
105 "extension_types": ["platform_app"],
106 "platforms": ["chromeos", "win", "mac"],
108 "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169
109 "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169
110 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", // http://crbug.com/387169
111 "307E96539209F95A1A8740C713E6998A73657D96", // http://crbug.com/387169
112 "4F25792AF1AA7483936DE29C07806F203C7170A0", // http://crbug.com/407693
113 "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9", // http://crbug.com/407693
114 "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB", // http://crbug.com/407693
115 "81986D4F846CEDDDB962643FA501D1780DD441BB" // http://crbug.com/407693
118 "declarativeWebRequest": [
121 "extension_types": ["extension", "legacy_packaged_app"]
127 "extension_types": ["extension", "platform_app"]
131 "extension_types": ["extension", "platform_app"],
133 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development
134 "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing
135 "75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release
139 "externally_connectable.all_urls": {
142 "extension", "hosted_app", "legacy_packaged_app", "platform_app"
145 "54ECAB4579BDE8FDAF9B29ED335F9946EE504A52", // Used in unit tests
146 "E24F1786D842E91E74C27929B0B3715A4689A473", // http://crbug.com/417494
147 "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // http://crbug.com/429886
153 "extension_types": ["platform_app"]
157 "extension_types": ["extension"],
159 "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs
160 "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev)
161 "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken
162 "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // CryptoToken (dev)
169 "extension_types": ["extension", "platform_app"],
171 "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs
172 "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev)
173 "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken
174 "A28C9619C4C41306FA5236FB4D94DA812F504DE8", // CryptoToken (dev)
175 "6F9E349A0561C78A0D3F41496FE521C5151C7F71", // Security Key
176 "C06709A259378015404ED20F75C7D08547E0F10B" // Security Key (dev)
182 "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ]
184 // Note: runtime is not actually a permission, but some systems check these
185 // values to verify restrictions.
188 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
192 "extension_types": ["platform_app"]
197 "extension_types": ["platform_app"]
201 "extension_types": ["extension"],
203 // The connectivity diagnostic utility is a component extension that is
204 // used to try to provide suggestions on how to fix connection issues.
205 // It should be the only non-app allowed to use the socket API.
206 "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7"
212 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
213 "min_manifest_version": 2
218 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
222 "extension_types": ["hosted_app"],
223 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
229 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
233 "extension_types": ["hosted_app"],
234 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
240 "extension_types": ["platform_app"]
244 "extension_types": ["hosted_app"],
245 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
251 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
255 "extension_types": ["hosted_app"],
256 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
262 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
266 "extension_types": ["hosted_app"],
267 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store
273 "extension_types": ["platform_app"]
277 "extension_types": ["extension"],
279 "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs
280 "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev)
281 "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken
282 "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // CryptoToken (dev)
289 "extension_types": ["platform_app"]
293 "extension_types": ["extension"],
295 "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs
296 "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev)
297 "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken
298 "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // CryptoToken (dev)
305 "extension_types": ["platform_app"]
309 "extension_types": ["extension"],
311 // http://crbug.com/292856
312 "09FDCB5851B8F3378DB630D06E316076E89C95A6",
313 "A434B90223C3C52F2B69DB494736B63C612C774D"
319 "extension_types": ["extension", "platform_app"],
320 "platforms": ["chromeos"]
325 "extension_types": ["platform_app"]
328 // General support for webview in component extensions still in progress.
329 // Only allowed for whitelisted extensions until all the caveats are
330 // addressed. Tracked in crbug/285151.
332 "extension_types": ["extension"],
333 "location": "component",
335 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension
342 "extension_types": ["extension", "legacy_packaged_app"]
345 "webRequestBlocking": [
348 "extension_types": ["extension", "legacy_packaged_app"]