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 extensions/common/features/* to understand this file, in particular |
8 // feature.h, simple_feature.h, and base_feature_provider.h. | 8 // feature.h, simple_feature.h, and base_feature_provider.h. |
9 | 9 |
10 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: | 10 // To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash: |
11 // | 11 // |
12 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ | 12 // $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \ |
13 // sha1sum | tr '[:lower:]' '[:upper:]' | 13 // sha1sum | tr '[:lower:]' '[:upper:]' |
14 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - | 14 // 9A0417016F345C934A1A88F55CA17C05014EEEBA - |
15 // | 15 // |
16 // Google employees: please update http://go/chrome-api-whitelist to map | 16 // Google employees: please update http://go/chrome-api-whitelist to map |
17 // hashes back to ids. | 17 // hashes back to ids. |
18 | 18 |
| 19 // 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 |
| 21 |
19 { | 22 { |
20 "accessibilityFeatures.modify": { | 23 "accessibilityFeatures.modify": { |
21 "channel": "dev", | 24 "channel": "dev", |
22 "extension_types": ["extension", "platform_app"] | 25 "extension_types": ["extension", "platform_app"] |
23 }, | 26 }, |
24 "accessibilityFeatures.read": { | 27 "accessibilityFeatures.read": { |
25 "channel": "dev", | 28 "channel": "dev", |
26 "extension_types": ["extension", "platform_app"] | 29 "extension_types": ["extension", "platform_app"] |
27 }, | 30 }, |
28 "activeTab": { | 31 "activeTab": { |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 // Only allowed for whitelisted extensions until all the caveats are | 960 // Only allowed for whitelisted extensions until all the caveats are |
958 // addressed. Tracked in crbug/285151. | 961 // addressed. Tracked in crbug/285151. |
959 "channel": "stable", | 962 "channel": "stable", |
960 "extension_types": ["extension"], | 963 "extension_types": ["extension"], |
961 "location": "component", | 964 "location": "component", |
962 "whitelist": [ | 965 "whitelist": [ |
963 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension | 966 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension |
964 ] | 967 ] |
965 }] | 968 }] |
966 } | 969 } |
OLD | NEW |