Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / extensions / common / api / _permission_features.json
blob2897a81f1511a91a7bce087d0528a6793844b0db
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   "alarms": {
25     "channel": "stable",
26     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
27     "min_manifest_version": 2
28   },
29   "app.window.alwaysOnTop": {
30     "channel": "stable",
31     "extension_types": ["platform_app"]
32   },
33   "app.window.fullscreen": {
34     "channel": "stable",
35     "extension_types": ["platform_app"]
36   },
37   "app.window.fullscreen.overrideEsc": {
38     "channel": "stable",
39     "extension_types": ["platform_app"]
40   },
41   "app.window.alpha": [
42     {
43       "channel": "dev",
44       "extension_types": ["platform_app"]
45     },
46     {
47       "channel": "stable",
48       "extension_types": ["platform_app"],
49       "whitelist": [
50         "0F42756099D914A026DADFA182871C015735DD95",  // http://crbug.com/323773
51         "2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7",
52         "E7E2461CE072DF036CF9592740196159E2D7C089",  // http://crbug.com/356200
53         "A74A4D44C7CFCD8844830E6140C8D763E12DD8F3",
54         "312745D9BF916161191143F6490085EEA0434997",
55         "53041A2FA309EECED01FFC751E7399186E860B2C",
56         "A07A5B743CD82A1C2579DB77D353C98A23201EEF",  // http://crbug.com/413748
57         "F16F23C83C5F6DAD9B65A120448B34056DD80691",
58         "0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B"
59       ]
60     },
61     {
62       "channel": "stable",
63       "extension_types": ["extension"],
64       "whitelist": [
65         "06BE211D5F014BAB34BC22D9DDA09C63A81D828E",  // http://crbug.com/425539
66         "F94EE6AB36D6C6588670B2B01EB65212D9C64E33",
67         "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A"   // http://crbug.com/435380
68       ]
69     }
70   ],
71   "app.window.interceptAllKeys": {
72     "channel": "dev",
73     "extension_types": ["platform_app"]
74   },
75   "app.window.shape": {
76     "channel": "stable",
77     "extension_types": ["platform_app"]
78   },
79   "app.window.ime": [
80     {
81        "channel": "stable",
82        "extension_types": ["extension"],
83        "platforms": ["chromeos"],
84        "whitelist": [
85          "06BE211D5F014BAB34BC22D9DDA09C63A81D828E",
86          "F94EE6AB36D6C6588670B2B01EB65212D9C64E33",
87          "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A"   // http://crbug.com/435380
88        ]
89     }
90   ],
91   "appview": {
92     "channel": "stable",
93     "extension_types": ["platform_app"]
94   },
95   "audio": [
96     {
97       "channel": "dev",
98       "extension_types": ["platform_app"]
99     },
100     {
101       "channel": "stable",
102       "extension_types": ["platform_app"],
103       "whitelist": [
104         "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
105         "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
106         "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/335729
107         "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/335729
108         "307E96539209F95A1A8740C713E6998A73657D96",  // http://crbug.com/335729
109         "4F25792AF1AA7483936DE29C07806F203C7170A0",  // http://crbug.com/407693
110         "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // http://crbug.com/407693
111         "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // http://crbug.com/407693
112         "81986D4F846CEDDDB962643FA501D1780DD441BB"   // http://crbug.com/407693
113       ]
114     }
115   ],
116   "audioCapture": [
117     {
118       "channel": "stable",
119       "extension_types": ["platform_app"]
120     },
121     {
122       "channel": "stable",
123       "extension_types": ["extension"],
124       "whitelist": [
125         // http://crbug.com/292856
126         "3F50C3A83839D9C76334BCE81CDEC06174F266AF",
127         "39BE69F11F68E4EED080DA3DC2394F7885B7AFF9",
128         "FF78670081967CE21DB86A04AD94A0498F01E20A",
129         // Hotword component extension
130         "62CCAAD339E6451BBF97C4BBDF758E934A05AD0B"
131       ]
132     }
133   ],
134   "bluetoothPrivate": {
135     "channel": "stable",
136     "extension_types": ["platform_app"],
137     "platforms": ["chromeos", "win", "mac"],
138     "whitelist": [
139       "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/387169
140       "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/387169
141       "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",  // http://crbug.com/387169
142       "307E96539209F95A1A8740C713E6998A73657D96",  // http://crbug.com/387169
143       "4F25792AF1AA7483936DE29C07806F203C7170A0",  // http://crbug.com/407693
144       "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // http://crbug.com/407693
145       "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // http://crbug.com/407693
146       "81986D4F846CEDDDB962643FA501D1780DD441BB",  // http://crbug.com/407693
147       "89715614FAA2B4C2853802D70261D2A9D0756FC8"   // http://crbug.com/455986
148     ]
149   },
150   "declarativeWebRequest": {
151       "channel": "beta",
152       "extension_types": ["extension", "legacy_packaged_app"]
153   },
154   "diagnostics": [
155     {
156       "channel": "dev",
157       "extension_types": ["platform_app"]
158     },
159     {
160       "channel": "stable",
161       "extension_types": ["platform_app"],
162       "whitelist": [
163         "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4",  // CCD Development
164         "C7DA3A55C2355F994D3FDDAD120B426A0DF63843",  // CCD Testing
165         "75E3CFFFC530582C583E4690EF97C70B9C8423B7"   // CCD Release
166       ]
167     }
168   ],
169   "dns": [
170     {
171       "channel": "dev",
172       "extension_types": ["extension", "platform_app"]
173     },
174     {
175       "channel": "stable",
176       "extension_types": ["extension", "platform_app"],
177       "whitelist": [
178         "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4",  // CCD Development
179         "C7DA3A55C2355F994D3FDDAD120B426A0DF63843",  // CCD Testing
180         "75E3CFFFC530582C583E4690EF97C70B9C8423B7"   // CCD Release
181       ]
182     }
183   ],
184   "documentScan": {
185     "channel": "stable",
186     "extension_types": ["extension", "platform_app"],
187     "platforms": ["chromeos"]
188   },
189   "extensionview": {
190     "channel": "dev",
191     "extension_types": ["platform_app"]
192   },
193   "externally_connectable.all_urls": {
194     "channel": "stable",
195     "extension_types": [
196       "extension", "hosted_app", "legacy_packaged_app", "platform_app"
197     ],
198     "whitelist": [
199       "54ECAB4579BDE8FDAF9B29ED335F9946EE504A52",  // Used in unit tests
200       "E24F1786D842E91E74C27929B0B3715A4689A473",  // http://crbug.com/417494
201       "A28C9619C4C41306FA5236FB4D94DA812F504DE8"   // http://crbug.com/429886
202     ]
203   },
204   "hid": [
205     {
206       "channel": "stable",
207       "extension_types": ["platform_app"]
208     },
209     {
210       "channel": "stable",
211       "extension_types": ["extension"],
212       "whitelist": [
213         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
214         "AD8ED80B705E1818AAD4684F9FF62B43D6D79620",  // FIDO U2F APIs (dev)
215         "E24F1786D842E91E74C27929B0B3715A4689A473",  // CryptoToken
216         "A28C9619C4C41306FA5236FB4D94DA812F504DE8"   // CryptoToken (dev)
217       ]
218     }
219   ],
220   "idle": {
221     "channel": "stable",
222     "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
223   },
224   "networking.config": {
225     "channel": "stable",
226     "platforms": ["chromeos"],
227     "extension_types": ["extension"]
228   },
229   "networkingPrivate": {
230     "channel": "stable",
231     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
232     "platforms": ["chromeos", "mac", "win", "linux"],
233     "whitelist": [
234       "0DE0F05680A4A056BCEC864ED8DDA84296F82B40",  // http://crbug.com/434651
235       "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/293683
236       "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/293683
237       "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",  // http://crbug.com/234235
238       "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",  // http://crbug.com/234235
239       "307E96539209F95A1A8740C713E6998A73657D96",  // http://crbug.com/329690
240       "11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2",  // http://crbug.com/380890
241       "0EFB879311E9EFBB7C45251F89EC655711B1F6ED",  // http://crbug.com/380890
242       "9193D3A51E2FE33B496CDA53EA330423166E7F02",  // http://crbug.com/380890
243       "F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89",  // http://crbug.com/380890
244       "63ED55E43214C211F82122ED56407FF1A807F2A3",  // Dev
245       "FA01E0B81978950F2BC5A50512FD769725F57510",  // Beta
246       "B11A93E7E5B541F8010245EBDE2C74647D6C14B9",  // Canary
247       "F155646B5D1CA545F7E1E4E20D573DFDD44C2540",  // Google Cast Beta
248       "16CA7A47AAE4BE49B1E75A6B960C3875E945B264",  // Google Cast Stable
249       "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4",  // CCD Development
250       "C7DA3A55C2355F994D3FDDAD120B426A0DF63843",  // CCD Testing
251       "75E3CFFFC530582C583E4690EF97C70B9C8423B7",  // CCD Release
252       "4F25792AF1AA7483936DE29C07806F203C7170A0",  // http://crbug.com/407693
253       "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // http://crbug.com/407693
254       "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // http://crbug.com/407693
255       "81986D4F846CEDDDB962643FA501D1780DD441BB"   // http://crbug.com/407693
256     ]
257   },
258   "power": {
259     "channel": "stable",
260     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ]
261   },
262   "printerProvider": {
263     "channel": "stable",
264     "extension_types": ["extension", "platform_app" ]
265   },
266   // Note: runtime is not actually a permission, but some systems check these
267   // values to verify restrictions.
268   "runtime": {
269     "channel": "stable",
270     "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
271   },
272   "serial": {
273     "channel": "stable",
274     "extension_types": ["platform_app"]
275   },
276   "socket": [
277     {
278       "channel": "stable",
279       "extension_types": ["platform_app"]
280     },
281     {
282       "channel": "stable",
283       "extension_types": ["extension"],
284       "whitelist": [
285         // The connectivity diagnostic utility is a component extension that is
286         // used to try to provide suggestions on how to fix connection issues.
287         // It should be the only non-app allowed to use the socket API.
288         "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7"
289       ]
290     }
291   ],
292   "storage": {
293     "channel": "stable",
294     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
295     "min_manifest_version": 2
296   },
297   "system.cpu": [
298     {
299       "channel": "stable",
300       "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
301     },
302     {
303       "channel": "stable",
304       "extension_types": ["hosted_app"],
305       "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"]  // Web Store
306     }
307   ],
308   "system.memory": [
309     {
310       "channel": "stable",
311       "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
312     },
313     {
314       "channel": "stable",
315       "extension_types": ["hosted_app"],
316       "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"]  // Web Store
317     }
318   ],
319   "system.network": [
320     {
321       "channel": "stable",
322       "extension_types": ["platform_app"]
323     },
324     {
325       "channel": "stable",
326       "extension_types": ["hosted_app"],
327       "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"]  // Web Store
328     }
329   ],
330   "system.storage": [
331     {
332       "channel": "stable",
333       "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
334     },
335     {
336       "channel": "stable",
337       "extension_types": ["hosted_app"],
338       "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"]  // Web Store
339     }
340   ],
341   "system.display": [
342     {
343       "channel": "stable",
344       "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
345     },
346     {
347       "channel": "stable",
348       "extension_types": ["hosted_app"],
349       "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"]  // Web Store
350     }
351   ],
352   "u2fDevices": [
353     {
354       "channel": "stable",
355       "extension_types": ["extension", "platform_app"],
356       "whitelist": [
357         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
358         "AD8ED80B705E1818AAD4684F9FF62B43D6D79620",  // FIDO U2F APIs (dev)
359         "E24F1786D842E91E74C27929B0B3715A4689A473",  // CryptoToken
360         "A28C9619C4C41306FA5236FB4D94DA812F504DE8",  // CryptoToken (dev)
361         "6F9E349A0561C78A0D3F41496FE521C5151C7F71",  // Security Key
362         "C06709A259378015404ED20F75C7D08547E0F10B"   // Security Key (dev)
363       ]
364     }
365   ],
366   "unlimitedStorage": {
367     "channel": "stable",
368     "extension_types": [
369       "extension", "legacy_packaged_app", "hosted_app", "platform_app"
370     ]
371   },
372   "usb": [
373     {
374       "channel": "stable",
375       "extension_types": ["platform_app"]
376     },
377     {
378       "channel": "stable",
379       "extension_types": ["extension"],
380       "whitelist": [
381         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
382         "AD8ED80B705E1818AAD4684F9FF62B43D6D79620",  // FIDO U2F APIs (dev)
383         "E24F1786D842E91E74C27929B0B3715A4689A473",  // CryptoToken
384         "A28C9619C4C41306FA5236FB4D94DA812F504DE8"   // CryptoToken (dev)
385       ]
386     }
387   ],
388   "usbDevices": [
389     {
390       "channel": "stable",
391       "extension_types": ["platform_app"]
392     },
393     {
394       "channel": "stable",
395       "extension_types": ["extension"],
396       "whitelist": [
397         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
398         "AD8ED80B705E1818AAD4684F9FF62B43D6D79620",  // FIDO U2F APIs (dev)
399         "E24F1786D842E91E74C27929B0B3715A4689A473",  // CryptoToken
400         "A28C9619C4C41306FA5236FB4D94DA812F504DE8"   // CryptoToken (dev)
401       ]
402     }
403   ],
404   "videoCapture": [
405     {
406       "channel": "stable",
407       "extension_types": ["platform_app"]
408     },
409     {
410       "channel": "stable",
411       "extension_types": ["extension"],
412       "whitelist": [
413         // http://crbug.com/292856
414         "A434B90223C3C52F2B69DB494736B63C612C774D"
415       ]
416     }
417   ],
418   "virtualKeyboardPrivate": {
419     "channel": "stable",
420     "extension_types": ["extension", "platform_app"],
421     "platforms": ["chromeos"],
422     "whitelist": [
423       "3F50C3A83839D9C76334BCE81CDEC06174F266AF",  // System-level virtual kbd
424       "06BE211D5F014BAB34BC22D9DDA09C63A81D828E",  // Official XKB virtual kbd
425       "CFBF7EE448FA48960FFDA7CEB30F7A21B26AA981",  // Official m17n virtual kbd
426       "F94EE6AB36D6C6588670B2B01EB65212D9C64E33",  // Public XKB virtual kbd
427       "3E03D9B67FDD31B2438D1CF5070573415DCB3CBA",  // Public m17n virtual kbd
428       "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",  // Stable external hotrod app
429       "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // Beta external hotrod app
430       "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // Alpha external hotrod app
431       "307E96539209F95A1A8740C713E6998A73657D96",  // Dev external hotrod app
432       "4F25792AF1AA7483936DE29C07806F203C7170A0",  // Stable internal hotrod app
433       "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // Beta internal hotrod app
434       "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // Alpha external hotrod app
435       "81986D4F846CEDDDB962643FA501D1780DD441BB"   // Dev external hotrod app
436     ]
437   },
438   "vpnProvider": {
439     "channel": "stable",
440     "extension_types": ["extension", "platform_app"],
441     "platforms": ["chromeos"]
442   },
443   "webview": {
444     "channel": "stable",
445     "extension_types": ["platform_app"]
446   },
447   "webRequest": {
448     "channel": "stable",
449     "extension_types": ["extension", "legacy_packaged_app"]
450    },
451   "webRequestBlocking": {
452     "channel": "stable",
453     "extension_types": ["extension", "legacy_packaged_app"]
454   }