| 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 permissions for extension APIs implemented | 5 // This features file defines permissions for extension APIs implemented |
| 6 // under src/extensions. | 6 // under src/extensions. |
| 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 // If you add a new platform_app permission please update the "stubs_app" test: | 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 | 21 // chrome/test/data/extensions/api_test/stubs_app/manifest.json |
| 22 | 22 |
| 23 { | 23 { |
| 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 ], |
| 24 "dns": [ | 43 "dns": [ |
| 25 { | 44 { |
| 26 "channel": "dev", | 45 "channel": "dev", |
| 27 "extension_types": ["extension", "platform_app"] | 46 "extension_types": ["extension", "platform_app"] |
| 28 }, | 47 }, |
| 29 { | 48 { |
| 30 "channel": "stable", | 49 "channel": "stable", |
| 31 "extension_types": ["extension", "platform_app"], | 50 "extension_types": ["extension", "platform_app"], |
| 32 "whitelist": [ | 51 "whitelist": [ |
| 33 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development | 52 "7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 "extension_types": ["platform_app"] | 124 "extension_types": ["platform_app"] |
| 106 }, | 125 }, |
| 107 { | 126 { |
| 108 "channel": "stable", | 127 "channel": "stable", |
| 109 "extension_types": ["extension"], | 128 "extension_types": ["extension"], |
| 110 "whitelist": [ | 129 "whitelist": [ |
| 111 "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs | 130 "496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs |
| 112 "E24F1786D842E91E74C27929B0B3715A4689A473" // CryptoToken | 131 "E24F1786D842E91E74C27929B0B3715A4689A473" // CryptoToken |
| 113 ] | 132 ] |
| 114 } | 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 } |
| 115 ] | 150 ] |
| 116 } | 151 } |
| OLD | NEW |