// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This features file defines permissions for extension APIs implemented // under src/extensions. // See extensions/common/features/* to understand this file, in particular // feature.h, simple_feature.h, and base_feature_provider.h. // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: // // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ // sha1sum | tr '[:lower:]' '[:upper:]' // 9A0417016F345C934A1A88F55CA17C05014EEEBA - // // Google employees: please update http://go/chrome-api-whitelist to map // hashes back to ids. // If you add a new platform_app permission please update the "stubs_app" test: // chrome/test/data/extensions/api_test/stubs_app/manifest.json { "alarms": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], "min_manifest_version": 2 }, "app.window.alwaysOnTop": { "channel": "stable", "extension_types": ["platform_app"] }, "app.window.fullscreen": { "channel": "stable", "extension_types": ["platform_app"] }, "app.window.fullscreen.overrideEsc": { "channel": "stable", "extension_types": ["platform_app"] }, "app.window.alpha": [ { "channel": "dev", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["platform_app"], "whitelist": [ "0F42756099D914A026DADFA182871C015735DD95", // http://crbug.com/323773 "2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7", "E7E2461CE072DF036CF9592740196159E2D7C089", // http://crbug.com/356200 "A74A4D44C7CFCD8844830E6140C8D763E12DD8F3", "312745D9BF916161191143F6490085EEA0434997", "53041A2FA309EECED01FFC751E7399186E860B2C", "A07A5B743CD82A1C2579DB77D353C98A23201EEF", // http://crbug.com/413748 "F16F23C83C5F6DAD9B65A120448B34056DD80691", "0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B" ] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // http://crbug.com/425539 "F94EE6AB36D6C6588670B2B01EB65212D9C64E33", "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A" // http://crbug.com/435380 ] } ], "app.window.shape": { "channel": "stable", "extension_types": ["platform_app"] }, "app.window.ime": [ { "channel": "stable", "extension_types": ["extension"], "platforms": ["chromeos"], "whitelist": [ "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", "F94EE6AB36D6C6588670B2B01EB65212D9C64E33", "B9EF10DDFEA11EF77873CC5009809E5037FC4C7A" // http://crbug.com/435380 ] } ], "appview": { "channel": "stable", "extension_types": ["platform_app"] }, "audio": [ { "channel": "dev", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["platform_app"], "whitelist": [ "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/335729 "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/335729 "307E96539209F95A1A8740C713E6998A73657D96", // http://crbug.com/335729 "4F25792AF1AA7483936DE29C07806F203C7170A0", // http://crbug.com/407693 "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9", // http://crbug.com/407693 "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB", // http://crbug.com/407693 "81986D4F846CEDDDB962643FA501D1780DD441BB" // http://crbug.com/407693 ] } ], "audioCapture": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ // http://crbug.com/292856 "3F50C3A83839D9C76334BCE81CDEC06174F266AF", "39BE69F11F68E4EED080DA3DC2394F7885B7AFF9", "FF78670081967CE21DB86A04AD94A0498F01E20A", // http://crbug.com/409192 // Hotword component extension "62CCAAD339E6451BBF97C4BBDF758E934A05AD0B", "0C0426C12F94156F330FFAF346A976BA8878DE78", // http://crbug.com/496954 "AC4538682FCECD28587C7A0F80849F78F4872BC2", // http://crbug.com/496954 "CCA4D85A67ADD65DA6C02E49EE3C080C54A8211C", // http://crbug.com/496954 "05EBA3051DFCA6AF17070AEE5FE8C66322FF4738", // http://crbug.com/431978 "11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2", // http://crbug.com/458218 "0EFB879311E9EFBB7C45251F89EC655711B1F6ED", // http://crbug.com/458218 "9193D3A51E2FE33B496CDA53EA330423166E7F02", // http://crbug.com/458218 "F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89" // http://crbug.com/458218 ] } ], "bluetoothPrivate": { "channel": "stable", "extension_types": ["platform_app"], "platforms": ["chromeos", "win", "mac", "linux"], "whitelist": [ "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169 "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", // http://crbug.com/387169 "307E96539209F95A1A8740C713E6998A73657D96", // http://crbug.com/387169 "4F25792AF1AA7483936DE29C07806F203C7170A0", // http://crbug.com/407693 "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9", // http://crbug.com/407693 "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB", // http://crbug.com/407693 "81986D4F846CEDDDB962643FA501D1780DD441BB", // http://crbug.com/407693 "89715614FAA2B4C2853802D70261D2A9D0756FC8", // http://crbug.com/455986 "61FF4757F9420B62B19BA5C96084649339DB31F5", // http://crbug.com/587613 "F3013F58BED982D1BC75943792FF877E5D458672" // http://crbug.com/587613 ] }, "cast": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], "whitelist": [ "9448CAB302F268FB4917D06F70703893DCDA26C4", // Cast Test Extension "63ED55E43214C211F82122ED56407FF1A807F2A3", // Dev "FA01E0B81978950F2BC5A50512FD769725F57510", // Beta "B11A93E7E5B541F8010245EBDE2C74647D6C14B9", // Canary "F155646B5D1CA545F7E1E4E20D573DFDD44C2540", // Google Cast Beta "16CA7A47AAE4BE49B1E75A6B960C3875E945B264", // Google Cast Stable "C17CD9E6868D7B9C67926E0EC612EA25C768418F", // http://crbug.com/457908 "226CF815E39A363090A1E547D53063472B8279FA" // http://crbug.com/574889 ] }, "declarativeWebRequest": { "channel": "beta", "extension_types": ["extension", "legacy_packaged_app"] }, "diagnostics": [ { "channel": "dev", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["platform_app"], "whitelist": [ "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing "75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release ] } ], "displaySource": { "channel": "dev", "extension_types": ["extension", "platform_app"] }, "dns": [ { "channel": "dev", "extension_types": ["extension", "platform_app"] }, { "channel": "stable", "extension_types": ["extension", "platform_app"], "whitelist": [ "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing "75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release ] } ], "documentScan": { "channel": "stable", "extension_types": ["extension", "platform_app"], "platforms": ["chromeos"] }, "extensionview": { "channel": "stable", "extension_types": ["platform_app"], "whitelist": [ // Used in browser tests: http://crbug.com/515284 "BD2EB5085B5324203BCCC3DF3CF102B8AB850402" ] }, "externally_connectable.all_urls": { "channel": "stable", "extension_types": [ "extension", "hosted_app", "legacy_packaged_app", "platform_app" ], "whitelist": [ "54ECAB4579BDE8FDAF9B29ED335F9946EE504A52", // Used in unit tests "E24F1786D842E91E74C27929B0B3715A4689A473", // http://crbug.com/417494 "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // http://crbug.com/429886 ] }, "hid": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev) "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // CryptoToken (dev) ] } ], "idle": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"] }, "networking.config": { "channel": "stable", "platforms": ["chromeos"], "extension_types": ["extension", "platform_app"] }, "networkingPrivate": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], "platforms": ["chromeos", "mac", "win", "linux"], "whitelist": [ "0DE0F05680A4A056BCEC864ED8DDA84296F82B40", // http://crbug.com/434651 "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683 "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/293683 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", // http://crbug.com/234235 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", // http://crbug.com/234235 "307E96539209F95A1A8740C713E6998A73657D96", // http://crbug.com/329690 "11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2", // http://crbug.com/380890 "0EFB879311E9EFBB7C45251F89EC655711B1F6ED", // http://crbug.com/380890 "9193D3A51E2FE33B496CDA53EA330423166E7F02", // http://crbug.com/380890 "F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89", // http://crbug.com/380890 "63ED55E43214C211F82122ED56407FF1A807F2A3", // Dev "FA01E0B81978950F2BC5A50512FD769725F57510", // Beta "B11A93E7E5B541F8010245EBDE2C74647D6C14B9", // Canary "F155646B5D1CA545F7E1E4E20D573DFDD44C2540", // Google Cast Beta "16CA7A47AAE4BE49B1E75A6B960C3875E945B264", // Google Cast Stable "226CF815E39A363090A1E547D53063472B8279FA", // http://crbug.com/588179 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing "75E3CFFFC530582C583E4690EF97C70B9C8423B7", // CCD Release "4F25792AF1AA7483936DE29C07806F203C7170A0", // http://crbug.com/407693 "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9", // http://crbug.com/407693 "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB", // http://crbug.com/407693 "81986D4F846CEDDDB962643FA501D1780DD441BB" // http://crbug.com/407693 ] }, "power": { "channel": "stable", "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ] }, "printerProvider": { "channel": "stable", "extension_types": ["extension", "platform_app" ] }, // Note: runtime is not actually a permission, but some systems check these // values to verify restrictions. "runtime": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"] }, "serial": { "channel": "stable", "extension_types": ["platform_app"] }, "socket": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ // The connectivity diagnostic utility is a component extension that is // used to try to provide suggestions on how to fix connection issues. // It should be the only non-app allowed to use the socket API. "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7" ] } ], "storage": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], "min_manifest_version": 2 }, "system.cpu": [ { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"] }, { "channel": "stable", "extension_types": ["hosted_app"], "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store } ], "system.memory": [ { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"] }, { "channel": "stable", "extension_types": ["hosted_app"], "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store } ], "system.network": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["hosted_app"], "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store } ], "system.storage": [ { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"] }, { "channel": "stable", "extension_types": ["hosted_app"], "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store } ], "system.display": [ { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"] }, { "channel": "stable", "extension_types": ["hosted_app"], "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store } ], "u2fDevices": [ { "channel": "stable", "extension_types": ["extension", "platform_app"], "whitelist": [ "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev) "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken "A28C9619C4C41306FA5236FB4D94DA812F504DE8", // CryptoToken (dev) "6F9E349A0561C78A0D3F41496FE521C5151C7F71", // Security Key "C06709A259378015404ED20F75C7D08547E0F10B" // Security Key (dev) ] } ], "unlimitedStorage": { "channel": "stable", "extension_types": [ "extension", "legacy_packaged_app", "hosted_app", "platform_app" ] }, "usb": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev) "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // CryptoToken (dev) ] } ], "usbDevices": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs "AD8ED80B705E1818AAD4684F9FF62B43D6D79620", // FIDO U2F APIs (dev) "E24F1786D842E91E74C27929B0B3715A4689A473", // CryptoToken "A28C9619C4C41306FA5236FB4D94DA812F504DE8" // CryptoToken (dev) ] } ], "videoCapture": [ { "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ // http://crbug.com/292856 "A434B90223C3C52F2B69DB494736B63C612C774D" ] } ], "virtualKeyboardPrivate": { "channel": "stable", "extension_types": ["extension", "platform_app"], "platforms": ["chromeos"], "whitelist": [ "3F50C3A83839D9C76334BCE81CDEC06174F266AF", // System-level virtual kbd "06BE211D5F014BAB34BC22D9DDA09C63A81D828E", // Official XKB virtual kbd "CFBF7EE448FA48960FFDA7CEB30F7A21B26AA981", // Official m17n virtual kbd "F94EE6AB36D6C6588670B2B01EB65212D9C64E33", // Public XKB virtual kbd "3E03D9B67FDD31B2438D1CF5070573415DCB3CBA", // Public m17n virtual kbd "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", // Stable external hotrod app "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // Beta external hotrod app "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // Alpha external hotrod app "307E96539209F95A1A8740C713E6998A73657D96", // Dev external hotrod app "4F25792AF1AA7483936DE29C07806F203C7170A0", // Stable internal hotrod app "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9", // Beta internal hotrod app "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB", // Alpha external hotrod app "81986D4F846CEDDDB962643FA501D1780DD441BB" // Dev external hotrod app ] }, "vpnProvider": { "channel": "stable", "extension_types": ["extension", "platform_app"], "platforms": ["chromeos"] }, "webview": [{ "channel": "stable", "extension_types": ["platform_app"] }, { "channel": "stable", "extension_types": ["extension"], "whitelist": [ "16CA7A47AAE4BE49B1E75A6B960C3875E945B264", // http://crbug.com/500075 "F155646B5D1CA545F7E1E4E20D573DFDD44C2540", // http://crbug.com/500075 "FA01E0B81978950F2BC5A50512FD769725F57510", // http://crbug.com/500075 "B11A93E7E5B541F8010245EBDE2C74647D6C14B9", // http://crbug.com/500075 "63ED55E43214C211F82122ED56407FF1A807F2A3", // http://crbug.com/500075 "226CF815E39A363090A1E547D53063472B8279FA" // http://crbug.com/500075 ] }], "webRequest": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app"] }, "webRequestBlocking": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app"] } }