Chromium Code Reviews| 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: |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1000 "channel": "stable", | 1000 "channel": "stable", |
| 1001 "extension_types": ["platform_app"] | 1001 "extension_types": ["platform_app"] |
| 1002 }, | 1002 }, |
| 1003 "syncedNotificationsPrivate": { | 1003 "syncedNotificationsPrivate": { |
| 1004 "channel": "dev", | 1004 "channel": "dev", |
| 1005 "extension_types": ["platform_app"], | 1005 "extension_types": ["platform_app"], |
| 1006 "whitelist": [ | 1006 "whitelist": [ |
| 1007 "34967F9FA3C399E1EC380B443D7331AA93AC445B" // http://crbug.com/400436 | 1007 "34967F9FA3C399E1EC380B443D7331AA93AC445B" // http://crbug.com/400436 |
| 1008 ] | 1008 ] |
| 1009 }, | 1009 }, |
| 1010 "system.cpu": { | 1010 "system.cpu": [ |
|
Yoyo Zhou
2014/08/13 20:24:09
I think it should be possible to make this less re
| |
| 1011 "channel": "stable", | 1011 { |
| 1012 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | 1012 "channel": "stable", |
| 1013 }, | 1013 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] |
| 1014 "system.memory": { | 1014 }, |
| 1015 "channel": "stable", | 1015 { |
| 1016 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | 1016 "channel": "stable", |
| 1017 }, | 1017 "extension_types": ["hosted_app"], |
| 1018 "system.network": { | 1018 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store |
| 1019 "channel": "stable", | 1019 } |
| 1020 "extension_types": ["platform_app"] | 1020 ], |
| 1021 }, | 1021 "system.memory": [ |
| 1022 "system.storage": { | 1022 { |
| 1023 "channel": "stable", | 1023 "channel": "stable", |
| 1024 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | 1024 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] |
| 1025 }, | 1025 }, |
| 1026 "system.display": { | 1026 { |
| 1027 "channel": "stable", | 1027 "channel": "stable", |
| 1028 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | 1028 "extension_types": ["hosted_app"], |
| 1029 }, | 1029 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store |
| 1030 } | |
| 1031 ], | |
| 1032 "system.network": [ | |
| 1033 { | |
| 1034 "channel": "stable", | |
| 1035 "extension_types": ["platform_app"] | |
| 1036 }, | |
| 1037 { | |
| 1038 "channel": "stable", | |
| 1039 "extension_types": ["hosted_app"], | |
| 1040 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store | |
| 1041 } | |
| 1042 ], | |
| 1043 "system.storage": [ | |
| 1044 { | |
| 1045 "channel": "stable", | |
| 1046 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | |
| 1047 }, | |
| 1048 { | |
| 1049 "channel": "stable", | |
| 1050 "extension_types": ["hosted_app"], | |
| 1051 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store | |
| 1052 } | |
| 1053 ], | |
| 1054 "system.display": [ | |
| 1055 { | |
| 1056 "channel": "stable", | |
| 1057 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] | |
| 1058 }, | |
| 1059 { | |
| 1060 "channel": "stable", | |
| 1061 "extension_types": ["hosted_app"], | |
| 1062 "whitelist": ["B44D08FD98F1523ED5837D78D0A606EA9D6206E5"] // Web Store | |
| 1063 } | |
| 1064 ], | |
| 1030 "systemPrivate": { | 1065 "systemPrivate": { |
| 1031 "channel": "stable", | 1066 "channel": "stable", |
| 1032 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 1067 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 1033 "location": "component" | 1068 "location": "component" |
| 1034 }, | 1069 }, |
| 1035 "tabs": [ | 1070 "tabs": [ |
| 1036 { | 1071 { |
| 1037 "channel": "stable", | 1072 "channel": "stable", |
| 1038 "extension_types": ["extension", "legacy_packaged_app"] | 1073 "extension_types": ["extension", "legacy_packaged_app"] |
| 1039 }, | 1074 }, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1168 // Only allowed for whitelisted extensions until all the caveats are | 1203 // Only allowed for whitelisted extensions until all the caveats are |
| 1169 // addressed. Tracked in crbug/285151. | 1204 // addressed. Tracked in crbug/285151. |
| 1170 "channel": "stable", | 1205 "channel": "stable", |
| 1171 "extension_types": ["extension"], | 1206 "extension_types": ["extension"], |
| 1172 "location": "component", | 1207 "location": "component", |
| 1173 "whitelist": [ | 1208 "whitelist": [ |
| 1174 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension | 1209 "D519188F86D9ACCEE0412007B227D9936EB9676B" // GAIA Component Extension |
| 1175 ] | 1210 ] |
| 1176 }] | 1211 }] |
| 1177 } | 1212 } |
| OLD | NEW |