Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / extensions / common / api / _permission_features.json
blob53cb9049eeaaa62aac962676c4e1bb9c8f0e7a3f
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   "audioCapture": [
25     {
26       "channel": "stable",
27       "extension_types": ["platform_app"]
28     },
29     {
30       "channel": "stable",
31       "extension_types": ["extension"],
32       "whitelist": [
33         // http://crbug.com/292856
34         "3F50C3A83839D9C76334BCE81CDEC06174F266AF",
35         "09FDCB5851B8F3378DB630D06E316076E89C95A6",
36         "39BE69F11F68E4EED080DA3DC2394F7885B7AFF9",
37         "FF78670081967CE21DB86A04AD94A0498F01E20A",
38         // Hotword component extension
39         "62CCAAD339E6451BBF97C4BBDF758E934A05AD0B"
40       ]
41     }
42   ],
43   "dns": [
44     {
45       "channel": "dev",
46       "extension_types": ["extension", "platform_app"]
47     },
48     {
49       "channel": "stable",
50       "extension_types": ["extension", "platform_app"],
51       "whitelist": [
52         "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4",  // CCD Development
53         "C7DA3A55C2355F994D3FDDAD120B426A0DF63843",  // CCD Testing
54         "75E3CFFFC530582C583E4690EF97C70B9C8423B7"   // CCD Release
55       ]
56     }
57   ],
58   "hid": [
59     {
60       "channel": "stable",
61       "extension_types": ["platform_app"]
62     },
63     {
64       "channel": "stable",
65       "extension_types": ["extension"],
66       "whitelist": [
67         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
68         "E24F1786D842E91E74C27929B0B3715A4689A473"   // CryptoToken
69       ]
70     }
71   ],
72   "power": {
73     "channel": "stable",
74     "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ]
75   },
76   // Note: runtime is not actually a permission, but some systems check these
77   // values to verify restrictions.
78   "runtime": {
79     "channel": "stable",
80     "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
81   },
82   "serial": {
83     "channel": "stable",
84     "extension_types": ["platform_app"]
85   },
86   "socket": [
87     {
88       "channel": "stable",
89       "extension_types": ["platform_app"]
90     },
91     {
92       "channel": "stable",
93       "extension_types": ["extension"],
94       "whitelist": [
95         // The connectivity diagnostic utility is a component extension that is
96         // used to try to provide suggestions on how to fix connection issues.
97         // It should be the only non-app allowed to use the socket API.
98         "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7"
99       ]
100     }
101   ],
102   "storage": {
103     "channel": "stable",
104     "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
105     "min_manifest_version": 2
106   },
107   "usb": [
108     {
109       "channel": "stable",
110       "extension_types": ["platform_app"]
111     },
112     {
113       "channel": "stable",
114       "extension_types": ["extension"],
115       "whitelist": [
116         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
117         "E24F1786D842E91E74C27929B0B3715A4689A473"   // CryptoToken
118       ]
119     }
120   ],
121   "usbDevices": [
122     {
123       "channel": "stable",
124       "extension_types": ["platform_app"]
125     },
126     {
127       "channel": "stable",
128       "extension_types": ["extension"],
129       "whitelist": [
130         "496B6890097EB6E19809ADEADD095A8721FBB2E0",  // FIDO U2F APIs
131         "E24F1786D842E91E74C27929B0B3715A4689A473"   // CryptoToken
132       ]
133     }
134   ],
135   "videoCapture": [
136     {
137       "channel": "stable",
138       "extension_types": ["platform_app"]
139     },
140     {
141       "channel": "stable",
142       "extension_types": ["extension"],
143       "whitelist": [
144         // http://crbug.com/292856
145         "3F50C3A83839D9C76334BCE81CDEC06174F266AF",
146         "09FDCB5851B8F3378DB630D06E316076E89C95A6",
147         "A434B90223C3C52F2B69DB494736B63C612C774D"
148       ]
149     }
150   ]