OLD | NEW |
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 // This features file defines manifest keys implemented under src/chrome. | 5 // This features file defines manifest keys implemented under src/chrome. |
6 // See extensions/common/features/* to understand this file, in particular | 6 // See extensions/common/features/* to understand this file, in particular |
7 // feature.h, simple_feature.h, and base_feature_provider.h. | 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
8 | 8 |
9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | 9 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: |
10 // | 10 // |
11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | 11 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ |
12 // sha1sum | tr '[:lower:]' '[:upper:]' | 12 // sha1sum | tr '[:lower:]' '[:upper:]' |
13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | 13 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - |
14 // | 14 // |
15 // Google employees: please update http://go/chrome-api-whitelist to map | 15 // Google employees: please update http://go/chrome-api-whitelist to map |
16 // hashes back to ids. | 16 // hashes back to ids. |
17 | 17 |
18 { | 18 { |
19 "about_page": { | 19 "about_page": { |
20 "channel": "stable", | 20 "channel": "stable", |
21 "extension_types": ["shared_module"] | 21 "extension_types": ["shared_module"] |
22 }, | 22 }, |
23 "app": { | |
24 "channel": "stable", | |
25 "extension_types": ["legacy_packaged_app", "hosted_app", "platform_app"] | |
26 }, | |
27 "app.isolation": { | 23 "app.isolation": { |
28 "channel": "stable", | 24 "channel": "stable", |
29 // Platform apps always have isolated storage, thus they cannot specify it | 25 // Platform apps always have isolated storage, thus they cannot specify it |
30 // via the manifest. | 26 // via the manifest. |
31 "extension_types": ["legacy_packaged_app", "hosted_app"] | 27 "extension_types": ["legacy_packaged_app", "hosted_app"] |
32 }, | 28 }, |
33 "app.launch": { | 29 "app.launch": { |
34 "channel": "stable", | 30 "channel": "stable", |
35 "extension_types": ["legacy_packaged_app", "hosted_app"] | 31 "extension_types": ["legacy_packaged_app", "hosted_app"] |
36 }, | 32 }, |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 "extension_types": ["extension", "legacy_packaged_app"] | 159 "extension_types": ["extension", "legacy_packaged_app"] |
164 }, | 160 }, |
165 "import": { | 161 "import": { |
166 "channel": "stable", | 162 "channel": "stable", |
167 "extension_types": "all" | 163 "extension_types": "all" |
168 }, | 164 }, |
169 "input_components": { | 165 "input_components": { |
170 "channel": "stable", | 166 "channel": "stable", |
171 "extension_types": ["extension", "legacy_packaged_app"] | 167 "extension_types": ["extension", "legacy_packaged_app"] |
172 }, | 168 }, |
173 "key": { | |
174 "channel": "stable", | |
175 "extension_types": "all" | |
176 }, | |
177 "mime_types": { | 169 "mime_types": { |
178 "channel": "stable", | 170 "channel": "stable", |
179 "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ], | 171 "extension_types": [ "extension", "legacy_packaged_app", "platform_app" ], |
180 "whitelist": [ | 172 "whitelist": [ |
181 "oickdpebdnfbgkcaoklfcdhjniefkcji", // browser_tests | 173 "oickdpebdnfbgkcaoklfcdhjniefkcji", // browser_tests |
182 "gbkeegbaiigmenfmjfclcdgdpimamgkj", // QuickOffice | 174 "gbkeegbaiigmenfmjfclcdgdpimamgkj", // QuickOffice |
183 "ionpfmkccalenbmnddpbmocokhaknphg", // QuickOffice Dev | 175 "ionpfmkccalenbmnddpbmocokhaknphg", // QuickOffice Dev |
184 "bpmcpldpdmajfigpchkicefoigmkfalc", // Quickoffice component extension | 176 "bpmcpldpdmajfigpchkicefoigmkfalc", // Quickoffice component extension |
185 "ehibbfinohgbchlgdbfpikodjaojhccn", // Editor | 177 "ehibbfinohgbchlgdbfpikodjaojhccn", // Editor |
186 "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF | 178 "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF |
(...skipping 10 matching lines...) Expand all Loading... |
197 "ehibbfinohgbchlgdbfpikodjaojhccn", // Editor | 189 "ehibbfinohgbchlgdbfpikodjaojhccn", // Editor |
198 "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF | 190 "mhjfbmdgcfjbbpaeojofohoefgiehjai" // PDF |
199 ] | 191 ] |
200 }, | 192 }, |
201 "minimum_chrome_version": { | 193 "minimum_chrome_version": { |
202 "channel": "stable", | 194 "channel": "stable", |
203 "extension_types": [ | 195 "extension_types": [ |
204 "extension", "legacy_packaged_app", "hosted_app", "platform_app" | 196 "extension", "legacy_packaged_app", "hosted_app", "platform_app" |
205 ] | 197 ] |
206 }, | 198 }, |
207 "oauth2": { | |
208 "channel": "stable", | |
209 "extension_types": [ | |
210 "extension", "legacy_packaged_app", "platform_app" | |
211 ] | |
212 }, | |
213 "oauth2.auto_approve": { | |
214 "channel": "stable", | |
215 "extension_types": [ | |
216 "extension", "platform_app" | |
217 ], | |
218 "whitelist": [ | |
219 "mdbihdcgjmagbcapkhhkjbbdlkflmbfo", // unit_tests | |
220 "pafkbggdmjlpgkdkcbjmhmfcdpncadgh", // Google Now | |
221 "nmmhkkegccagdldgiimedpiccmgmieda", // In-app payments support app. | |
222 "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C", | |
223 "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA", | |
224 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", // TODO(rockot): Kill these. | |
225 "E61F841D8210B6A9891E5384CB665FBED31FCD7B", // http://crbug.com/281715 | |
226 | |
227 // TODO(joaodasilva): remove these two once we have the new policy to | |
228 // grant auto approval by ID. http://crbug.com/399392 | |
229 "A8208CCC87F8261AFAEB6B85D5E8D47372DDEA6B", | |
230 "A4577D8C2AF4CF26F40CBCA83FFA4251D6F6C8F8" | |
231 ] | |
232 }, | |
233 "omnibox": { | 199 "omnibox": { |
234 "channel": "stable", | 200 "channel": "stable", |
235 "extension_types": ["extension", "legacy_packaged_app"] | 201 "extension_types": ["extension", "legacy_packaged_app"] |
236 }, | 202 }, |
237 "optional_permissions": { | 203 "optional_permissions": { |
238 "channel": "stable", | 204 "channel": "stable", |
239 "extension_types": [ | 205 "extension_types": [ |
240 "extension", "legacy_packaged_app", "hosted_app", "platform_app" | 206 "extension", "legacy_packaged_app", "hosted_app", "platform_app" |
241 ] | 207 ] |
242 }, | 208 }, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 }, | 286 }, |
321 "update_url": { | 287 "update_url": { |
322 "channel": "stable", | 288 "channel": "stable", |
323 "extension_types": "all" | 289 "extension_types": "all" |
324 }, | 290 }, |
325 "url_handlers": { | 291 "url_handlers": { |
326 "channel": "stable", | 292 "channel": "stable", |
327 "extension_types": ["platform_app"] | 293 "extension_types": ["platform_app"] |
328 } | 294 } |
329 } | 295 } |
OLD | NEW |