| 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 permissions for extension APIs implemented | 5 // This features file defines permissions for extension APIs implemented |
| 6 // under src/chrome. | 6 // under src/chrome. |
| 7 // See extensions/common/features/* to understand this file, in particular | 7 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 8 // feature.h, simple_feature.h, and base_feature_provider.h. | 8 // well as feature.h, simple_feature.h, and base_feature_provider.h. |
| 9 | |
| 10 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | |
| 11 // | |
| 12 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | |
| 13 // sha1sum | tr '[:lower:]' '[:upper:]' | |
| 14 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | |
| 15 // | |
| 16 // Google employees: please update http://go/chrome-api-whitelist to map | |
| 17 // hashes back to ids. | |
| 18 | 9 |
| 19 // If you add a new platform_app permission please update the "stubs_app" test: | 10 // If you add a new platform_app permission please update the "stubs_app" test: |
| 20 // chrome/test/data/extensions/api_test/stubs_app/manifest.json | 11 // chrome/test/data/extensions/api_test/stubs_app/manifest.json |
| 21 | 12 |
| 22 { | 13 { |
| 23 "accessibilityFeatures.modify": { | 14 "accessibilityFeatures.modify": { |
| 24 "channel": "stable", | 15 "channel": "stable", |
| 25 "extension_types": ["extension", "platform_app"] | 16 "extension_types": ["extension", "platform_app"] |
| 26 }, | 17 }, |
| 27 "accessibilityFeatures.read": { | 18 "accessibilityFeatures.read": { |
| (...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 "channel": "stable", | 979 "channel": "stable", |
| 989 "extension_types": ["platform_app"], | 980 "extension_types": ["platform_app"], |
| 990 "platforms": ["chromeos"], | 981 "platforms": ["chromeos"], |
| 991 "whitelist": [ | 982 "whitelist": [ |
| 992 "A948368FC53BE437A55FEB414106E207925482F5", // Files app | 983 "A948368FC53BE437A55FEB414106E207925482F5", // Files app |
| 993 "8C726564C6DBE7380BAB388DE6CC7EC93EB44B06", // Video player | 984 "8C726564C6DBE7380BAB388DE6CC7EC93EB44B06", // Video player |
| 994 "5065C83E84321221675D20FBE4DC43C655CC8C6F" // Files app tests | 985 "5065C83E84321221675D20FBE4DC43C655CC8C6F" // Files app tests |
| 995 ] | 986 ] |
| 996 } | 987 } |
| 997 } | 988 } |
| OLD | NEW |