| 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 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 8 // See extensions/common/features/* to understand this file, in particular | 8 // well as feature.h, simple_feature.h, and base_feature_provider.h. |
| 9 // feature.h, simple_feature.h, and base_feature_provider.h. | |
| 10 // | |
| 11 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | |
| 12 // | |
| 13 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | |
| 14 // sha1sum | tr '[:lower:]' '[:upper:]' | |
| 15 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | |
| 16 // | |
| 17 // Google employees: please update http://go/chrome-api-whitelist to map | |
| 18 // hashes back to ids. | |
| 19 | 9 |
| 20 { | 10 { |
| 21 "whitelisted_for_incognito": { | 11 "whitelisted_for_incognito": { |
| 22 "channel": "stable", | 12 "channel": "stable", |
| 23 "extension_types": "all", | 13 "extension_types": "all", |
| 24 // This is "external_component" for legacy reasons; it should be | 14 // This is "external_component" for legacy reasons; it should be |
| 25 // unnecessary given there's a whitelist. | 15 // unnecessary given there's a whitelist. |
| 26 "location": "external_component", | 16 "location": "external_component", |
| 27 "whitelist": [ | 17 "whitelist": [ |
| 28 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900 | 18 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 46 ] | 36 ] |
| 47 }, | 37 }, |
| 48 "zoom_without_bubble": { | 38 "zoom_without_bubble": { |
| 49 "channel": "stable", | 39 "channel": "stable", |
| 50 "extension_types": "all", | 40 "extension_types": "all", |
| 51 "whitelist": [ | 41 "whitelist": [ |
| 52 "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // https://crbug.com/538252 | 42 "CBCC42ABED43A4B58FE3810E62AFFA010EB0349F" // https://crbug.com/538252 |
| 53 ] | 43 ] |
| 54 } | 44 } |
| 55 } | 45 } |
| OLD | NEW |