Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: chrome/common/extensions/api/_permission_features.json

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: repack2 Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // See c/c/e/features/* to understand this file, in particular feature.h, 5 // This features file defines permissions for extension APIs implemented
6 // simple_feature.h, and base_feature_provider.h. 6 // under src/chrome.
7 // See extensions/common/features/* to understand this file, in particular
8 // feature.h, simple_feature.h, and base_feature_provider.h.
7 9
8 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: 10 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
9 // 11 //
10 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ 12 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
11 // sha1sum | tr '[:lower:]' '[:upper:]' 13 // sha1sum | tr '[:lower:]' '[:upper:]'
12 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - 14 // 9A0417016F345C934A1A88F55CA17C05014EEEBA -
13 // 15 //
14 // Google employees: please update http://go/chrome-api-whitelist to map 16 // Google employees: please update http://go/chrome-api-whitelist to map
15 // hashes back to ids. 17 // hashes back to ids.
16 18
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 "declarativeWebRequest": [ 306 "declarativeWebRequest": [
305 { 307 {
306 "channel": "beta", 308 "channel": "beta",
307 "extension_types": ["extension", "legacy_packaged_app"] 309 "extension_types": ["extension", "legacy_packaged_app"]
308 } 310 }
309 ], 311 ],
310 "desktopCapture": { 312 "desktopCapture": {
311 "channel": "stable", 313 "channel": "stable",
312 "extension_types": ["extension", "platform_app"] 314 "extension_types": ["extension", "platform_app"]
313 }, 315 },
314 "dns": [
315 {
316 "channel": "dev",
317 "extension_types": ["extension", "platform_app"]
318 },
319 {
320 "channel": "stable",
321 "extension_types": ["extension", "platform_app"],
322 "whitelist": [
323 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development
324 "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing
325 "75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release
326 ]
327 }
328 ],
329 "screenlockPrivate": {
330 "channel": "stable",
331 "extension_types":["platform_app"],
332 "whitelist": [
333 "lkegkdgachcnekllcdfkijonogckdnjo", // API test
334 "190C131D270994E7330E9A3CD48224061CB10E2D", // dogfood 1
335 "7FDDD1C0CB0052596657FDEC92841D509DC8D404", // dogfood 2
336 "E13990DC5440B6E270503DA27A35762F423725C3" // dogfood 3
337 ]
338 },
339 "downloads": { 316 "downloads": {
340 "channel": "stable", 317 "channel": "stable",
341 "extension_types": ["extension"] 318 "extension_types": ["extension"]
342 }, 319 },
343 "downloads.open": { 320 "downloads.open": {
344 "channel": "stable", 321 "channel": "stable",
345 "extension_types": ["extension"] 322 "extension_types": ["extension"]
346 }, 323 },
347 "downloads.shelf": { 324 "downloads.shelf": {
348 "channel": "stable", 325 "channel": "stable",
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 "E7E2461CE072DF036CF9592740196159E2D7C089", // Google Talk alpha 748 "E7E2461CE072DF036CF9592740196159E2D7C089", // Google Talk alpha
772 "312745D9BF916161191143F6490085EEA0434997" // Google Talk debug 749 "312745D9BF916161191143F6490085EEA0434997" // Google Talk debug
773 ] 750 ]
774 }, 751 },
775 // Note: runtime is not actually a permission, but some systems check these 752 // Note: runtime is not actually a permission, but some systems check these
776 // values to verify restrictions. 753 // values to verify restrictions.
777 "runtime": { 754 "runtime": {
778 "channel": "stable", 755 "channel": "stable",
779 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 756 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
780 }, 757 },
758 "screenlockPrivate": {
759 "channel": "stable",
760 "extension_types": ["platform_app"],
761 "whitelist": [
762 "lkegkdgachcnekllcdfkijonogckdnjo", // API test
763 "190C131D270994E7330E9A3CD48224061CB10E2D", // dogfood 1
764 "7FDDD1C0CB0052596657FDEC92841D509DC8D404", // dogfood 2
765 "E13990DC5440B6E270503DA27A35762F423725C3" // dogfood 3
766 ]
767 },
781 "screensaver": { 768 "screensaver": {
782 "channel": "stable", 769 "channel": "stable",
783 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] 770 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
784 }, 771 },
785 "serial": { 772 "serial": {
786 "channel": "stable", 773 "channel": "stable",
787 "extension_types": ["platform_app"] 774 "extension_types": ["platform_app"]
788 }, 775 },
789 "sessions": { 776 "sessions": {
790 "channel": "dev", 777 "channel": "dev",
791 "extension_types": ["extension", "legacy_packaged_app"] 778 "extension_types": ["extension", "legacy_packaged_app"]
792 }, 779 },
793 "signedInDevices": { 780 "signedInDevices": {
794 "channel": "dev", 781 "channel": "dev",
795 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 782 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
796 }, 783 },
797 "streamsPrivate": { 784 "streamsPrivate": {
798 "channel": "stable", 785 "channel": "stable",
799 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 786 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
800 "whitelist": [ 787 "whitelist": [
801 "787000072C6FBB934AF5A42275CDE73FC977D995", // browser_tests 788 "787000072C6FBB934AF5A42275CDE73FC977D995", // browser_tests
802 "2FC374607C2DF285634B67C64A2E356C607091C3", // QuickOffice 789 "2FC374607C2DF285634B67C64A2E356C607091C3", // QuickOffice
803 "5D3851BEFF680AB6D954B76678EFCCE834465C23", // QuickOffice Dev 790 "5D3851BEFF680AB6D954B76678EFCCE834465C23", // QuickOffice Dev
804 "12E618C3C6E97495AAECF2AC12DEB082353241C6", // QO component extension 791 "12E618C3C6E97495AAECF2AC12DEB082353241C6", // QO component extension
805 "3727DD3E564B6055387425027AD74C58784ACC15", // Editor 792 "3727DD3E564B6055387425027AD74C58784ACC15", // Editor
806 "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // PDF 793 "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // PDF
807 ] 794 ]
808 }, 795 },
809 "socket": [{
810 "channel": "stable",
811 "extension_types": ["platform_app"]
812 }, {
813 "channel": "stable",
814 "extension_types": ["extension"],
815 "whitelist": [
816 // The connectivity diagnostic utility is a component extension that is
817 // used to try to provide suggestions on how to fix connection issues. It
818 // should be the only non-app allowed to use the socket API.
819 "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7"
820 ]
821 }],
822 "syncFileSystem": { 796 "syncFileSystem": {
823 "channel": "stable", 797 "channel": "stable",
824 "extension_types": ["platform_app"] 798 "extension_types": ["platform_app"]
825 }, 799 },
826 "systemIndicator": { 800 "systemIndicator": {
827 "channel": "dev", 801 "channel": "dev",
828 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 802 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
829 }, 803 },
830 "storage": {
831 "channel": "stable",
832 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
833 "min_manifest_version": 2
834 },
835 "system.cpu": { 804 "system.cpu": {
836 "channel": "stable", 805 "channel": "stable",
837 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 806 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
838 }, 807 },
839 "system.memory": { 808 "system.memory": {
840 "channel": "stable", 809 "channel": "stable",
841 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 810 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
842 }, 811 },
843 "system.network": { 812 "system.network": {
844 "channel": "stable", 813 "channel": "stable",
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 // Only allowed for whitelisted extensions until all the caveats are 982 // Only allowed for whitelisted extensions until all the caveats are
1014 // addressed. Tracked in crbug/285151. 983 // addressed. Tracked in crbug/285151.
1015 "channel": "stable", 984 "channel": "stable",
1016 "extension_types": ["extension"], 985 "extension_types": ["extension"],
1017 "location": "component", 986 "location": "component",
1018 "whitelist": [ 987 "whitelist": [
1019 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension 988 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension
1020 ] 989 ]
1021 }] 990 }]
1022 } 991 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/_manifest_features.json ('k') | chrome/common/extensions/chrome_extensions_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698