OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 // This features file defines permissions for extension APIs implemented |
| 6 // under src/extensions. |
| 7 |
| 8 // See extensions/common/features/* to understand this file, in particular |
| 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 |
| 20 { |
| 21 "dns": [ |
| 22 { |
| 23 "channel": "dev", |
| 24 "extension_types": ["extension", "platform_app"] |
| 25 }, |
| 26 { |
| 27 "channel": "stable", |
| 28 "extension_types": ["extension", "platform_app"], |
| 29 "whitelist": [ |
| 30 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development |
| 31 "C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing |
| 32 "75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release |
| 33 ] |
| 34 } |
| 35 ], |
| 36 "socket": [ |
| 37 { |
| 38 "channel": "stable", |
| 39 "extension_types": ["platform_app"] |
| 40 }, |
| 41 { |
| 42 "channel": "stable", |
| 43 "extension_types": ["extension"], |
| 44 "whitelist": [ |
| 45 // The connectivity diagnostic utility is a component extension that is |
| 46 // used to try to provide suggestions on how to fix connection issues. |
| 47 // It should be the only non-app allowed to use the socket API. |
| 48 "32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7" |
| 49 ] |
| 50 } |
| 51 ], |
| 52 "storage": { |
| 53 "channel": "stable", |
| 54 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 55 "min_manifest_version": 2 |
| 56 } |
| 57 } |
OLD | NEW |