OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 switches used to control Extension behaviour, | 5 // This features file defines switches used to control Extension behaviour, |
6 // typically whitelist configuration. | 6 // typically whitelist configuration. |
7 // | 7 // |
8 // See extensions/common/features/* to understand this file, in particular | 8 // See extensions/common/features/* to understand this file, in particular |
9 // feature.h, simple_feature.h, and base_feature_provider.h. | 9 // feature.h, simple_feature.h, and base_feature_provider.h. |
10 // | 10 // |
11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | 11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: |
12 // | 12 // |
13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | 13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ |
14 // sha1sum | tr '[:lower:]' '[:upper:]' | 14 // sha1sum | tr '[:lower:]' '[:upper:]' |
15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | 15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - |
16 // | 16 // |
17 // Google employees: please update http://go/chrome-api-whitelist to map | 17 // Google employees: please update http://go/chrome-api-whitelist to map |
18 // hashes back to ids. | 18 // hashes back to ids. |
19 | 19 |
20 { | 20 { |
21 "bluetooth.peripheral": { | 21 "bluetooth.peripheral": { |
22 "channel": "stable", | 22 "channel": "stable", |
23 "extension_types": ["platform_app"], | 23 "extension_types": ["platform_app"], |
24 "platforms": ["chromeos"], | 24 "platforms": ["chromeos"], |
25 "whitelist": [ | 25 "whitelist": [ |
26 "307E96539209F95A1A8740C713E6998A73657D96", // http://crbug.com/485292 | 26 "307E96539209F95A1A8740C713E6998A73657D96", // http://crbug.com/485292 |
27 "81986D4F846CEDDDB962643FA501D1780DD441BB" // http://crbug.com/485292 | 27 "81986D4F846CEDDDB962643FA501D1780DD441BB", // http://crbug.com/485292 |
| 28 "9E287A8257E58EFB13E89C86A4B75A3AC4B058D8" // http://crbug.com/485292 |
28 ] | 29 ] |
29 }, | 30 }, |
30 "whitelisted_for_incognito": { | 31 "whitelisted_for_incognito": { |
31 "channel": "stable", | 32 "channel": "stable", |
32 "extension_types": "all", | 33 "extension_types": "all", |
33 // This is "external_component" for legacy reasons; it should be | 34 // This is "external_component" for legacy reasons; it should be |
34 // unnecessary given there's a whitelist. | 35 // unnecessary given there's a whitelist. |
35 "location": "external_component", | 36 "location": "external_component", |
36 "whitelist": [ | 37 "whitelist": [ |
37 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900 | 38 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900 |
38 "D57DE394F36DC1C3220E7604C575D29C51A6C495", // http://crbug.com/319444 | 39 "D57DE394F36DC1C3220E7604C575D29C51A6C495", // http://crbug.com/319444 |
39 "3F65507A3B39259B38C8173C6FFA3D12DF64CCE9" // http://crbug.com/371562 | 40 "3F65507A3B39259B38C8173C6FFA3D12DF64CCE9" // http://crbug.com/371562 |
40 ] | 41 ] |
41 } | 42 } |
42 } | 43 } |
OLD | NEW |