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

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: + Created 6 years, 8 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 "declarativeWebRequest": [ 308 "declarativeWebRequest": [
307 { 309 {
308 "channel": "beta", 310 "channel": "beta",
309 "extension_types": ["extension", "legacy_packaged_app"] 311 "extension_types": ["extension", "legacy_packaged_app"]
310 } 312 }
311 ], 313 ],
312 "desktopCapture": { 314 "desktopCapture": {
313 "channel": "stable", 315 "channel": "stable",
314 "extension_types": ["extension", "platform_app"] 316 "extension_types": ["extension", "platform_app"]
315 }, 317 },
316 "dns": [
317 {
318 "channel": "dev",
319 "extension_types": ["extension", "platform_app"]
320 },
321 {
322 "channel": "stable",
323 "extension_types": ["extension", "platform_app"],
324 "whitelist": [
325 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development
326 "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing
327 "75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release
328 ]
329 }
330 ],
331 "screenlockPrivate": {
332 "channel": "stable",
333 "extension_types":["platform_app"],
334 "whitelist": [
335 "lkegkdgachcnekllcdfkijonogckdnjo", // API test
336 "190C131D270994E7330E9A3CD48224061CB10E2D", // dogfood 1
337 "7FDDD1C0CB0052596657FDEC92841D509DC8D404", // dogfood 2
338 "E13990DC5440B6E270503DA27A35762F423725C3" // dogfood 3
339 ]
340 },
341 "downloads": { 318 "downloads": {
342 "channel": "stable", 319 "channel": "stable",
343 "extension_types": ["extension"] 320 "extension_types": ["extension"]
344 }, 321 },
345 "downloads.open": { 322 "downloads.open": {
346 "channel": "stable", 323 "channel": "stable",
347 "extension_types": ["extension"] 324 "extension_types": ["extension"]
348 }, 325 },
349 "downloads.shelf": { 326 "downloads.shelf": {
350 "channel": "stable", 327 "channel": "stable",
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 "E7E2461CE072DF036CF9592740196159E2D7C089", // Google Talk alpha 742 "E7E2461CE072DF036CF9592740196159E2D7C089", // Google Talk alpha
766 "312745D9BF916161191143F6490085EEA0434997" // Google Talk debug 743 "312745D9BF916161191143F6490085EEA0434997" // Google Talk debug
767 ] 744 ]
768 }, 745 },
769 // Note: runtime is not actually a permission, but some systems check these 746 // Note: runtime is not actually a permission, but some systems check these
770 // values to verify restrictions. 747 // values to verify restrictions.
771 "runtime": { 748 "runtime": {
772 "channel": "stable", 749 "channel": "stable",
773 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 750 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
774 }, 751 },
752 "screenlockPrivate": {
753 "channel": "stable",
754 "extension_types": ["platform_app"],
755 "whitelist": [
756 "lkegkdgachcnekllcdfkijonogckdnjo", // API test
757 "190C131D270994E7330E9A3CD48224061CB10E2D", // dogfood 1
758 "7FDDD1C0CB0052596657FDEC92841D509DC8D404", // dogfood 2
759 "E13990DC5440B6E270503DA27A35762F423725C3" // dogfood 3
760 ]
761 },
775 "screensaver": { 762 "screensaver": {
776 "channel": "stable", 763 "channel": "stable",
777 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] 764 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"]
778 }, 765 },
779 "serial": { 766 "serial": {
780 "channel": "stable", 767 "channel": "stable",
781 "extension_types": ["platform_app"] 768 "extension_types": ["platform_app"]
782 }, 769 },
783 "sessions": { 770 "sessions": {
784 "channel": "dev", 771 "channel": "dev",
785 "extension_types": ["extension", "legacy_packaged_app"] 772 "extension_types": ["extension", "legacy_packaged_app"]
786 }, 773 },
787 "signedInDevices": { 774 "signedInDevices": {
788 "channel": "dev", 775 "channel": "dev",
789 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 776 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
790 }, 777 },
791 "streamsPrivate": { 778 "streamsPrivate": {
792 "channel": "stable", 779 "channel": "stable",
793 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 780 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
794 "whitelist": [ 781 "whitelist": [
795 "787000072C6FBB934AF5A42275CDE73FC977D995", // browser_tests 782 "787000072C6FBB934AF5A42275CDE73FC977D995", // browser_tests
796 "2FC374607C2DF285634B67C64A2E356C607091C3", // QuickOffice 783 "2FC374607C2DF285634B67C64A2E356C607091C3", // QuickOffice
797 "5D3851BEFF680AB6D954B76678EFCCE834465C23", // QuickOffice Dev 784 "5D3851BEFF680AB6D954B76678EFCCE834465C23", // QuickOffice Dev
798 "12E618C3C6E97495AAECF2AC12DEB082353241C6", // QO component extension 785 "12E618C3C6E97495AAECF2AC12DEB082353241C6", // QO component extension
799 "3727DD3E564B6055387425027AD74C58784ACC15", // Editor 786 "3727DD3E564B6055387425027AD74C58784ACC15", // Editor
800 "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // PDF 787 "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // PDF
801 ] 788 ]
802 }, 789 },
803 "socket": [{
804 "channel": "stable",
805 "extension_types": ["platform_app"]
806 }, {
807 "channel": "stable",
808 "extension_types": ["extension"],
809 "whitelist": [
810 // The connectivity diagnostic utility is a component extension that is
811 // used to try to provide suggestions on how to fix connection issues. It
812 // should be the only non-app allowed to use the socket API.
813 "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7"
814 ]
815 }],
816 "syncFileSystem": { 790 "syncFileSystem": {
817 "channel": "stable", 791 "channel": "stable",
818 "extension_types": ["platform_app"] 792 "extension_types": ["platform_app"]
819 }, 793 },
820 "systemIndicator": { 794 "systemIndicator": {
821 "channel": "dev", 795 "channel": "dev",
822 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 796 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
823 }, 797 },
824 "storage": {
825 "channel": "stable",
826 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
827 "min_manifest_version": 2
828 },
829 "system.cpu": { 798 "system.cpu": {
830 "channel": "stable", 799 "channel": "stable",
831 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 800 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
832 }, 801 },
833 "system.memory": { 802 "system.memory": {
834 "channel": "stable", 803 "channel": "stable",
835 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 804 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
836 }, 805 },
837 "system.network": { 806 "system.network": {
838 "channel": "stable", 807 "channel": "stable",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 // Only allowed for whitelisted extensions until all the caveats are 954 // Only allowed for whitelisted extensions until all the caveats are
986 // addressed. Tracked in crbug/285151. 955 // addressed. Tracked in crbug/285151.
987 "channel": "stable", 956 "channel": "stable",
988 "extension_types": ["extension"], 957 "extension_types": ["extension"],
989 "location": "component", 958 "location": "component",
990 "whitelist": [ 959 "whitelist": [
991 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension 960 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension
992 ] 961 ]
993 }] 962 }]
994 } 963 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698