| 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 extension APIs implemented under src/extensions. | 5 // This features file defines extension APIs implemented under src/extensions. |
| 6 // See extensions/common/features/* to understand this file, in particular | 6 // See extensions/common/features/* to understand this file, in particular |
| 7 // feature.h, simple_feature.h, and base_feature_provider.h. | 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
| 8 // | 8 // |
| 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context | 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context |
| 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension | 36 "12E618C3C6E97495AAECF2AC12DEB082353241C6" // QO component extension |
| 37 ] | 37 ] |
| 38 }], | 38 }], |
| 39 "dns": { | 39 "dns": { |
| 40 "dependencies": ["permission:dns"], | 40 "dependencies": ["permission:dns"], |
| 41 "contexts": ["blessed_extension"] | 41 "contexts": ["blessed_extension"] |
| 42 }, | 42 }, |
| 43 // This is not a real API, only here for documentation purposes. | 43 // This is not a real API, only here for documentation purposes. |
| 44 // See http://crbug.com/275944 for background. | 44 // See http://crbug.com/275944 for background. |
| 45 "extensionTypes": { | 45 "extensionTypes": { |
| 46 "internal": true, |
| 46 "channel": "stable", | 47 "channel": "stable", |
| 47 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 48 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 48 "contexts": ["blessed_extension"] | 49 "contexts": ["blessed_extension"] |
| 49 }, | 50 }, |
| 50 "hid": { | 51 "hid": { |
| 51 "dependencies": ["permission:hid"], | 52 "dependencies": ["permission:hid"], |
| 52 "contexts": ["blessed_extension"] | 53 "contexts": ["blessed_extension"] |
| 53 }, | 54 }, |
| 54 "power": { | 55 "power": { |
| 55 "dependencies": ["permission:power"], | 56 "dependencies": ["permission:power"], |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 }, { | 167 }, { |
| 167 "channel": "stable", | 168 "channel": "stable", |
| 168 "contexts": ["webui"], | 169 "contexts": ["webui"], |
| 169 "matches": [ | 170 "matches": [ |
| 170 "chrome://extensions/*", | 171 "chrome://extensions/*", |
| 171 "chrome://extensions-frame/*", | 172 "chrome://extensions-frame/*", |
| 172 "chrome://chrome/extensions/*" | 173 "chrome://chrome/extensions/*" |
| 173 ] | 174 ] |
| 174 }], | 175 }], |
| 175 "types": { | 176 "types": { |
| 177 "internal": true, |
| 176 "channel": "stable", | 178 "channel": "stable", |
| 177 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 179 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
| 178 "contexts": ["blessed_extension"] | 180 "contexts": ["blessed_extension"] |
| 179 }, | 181 }, |
| 180 "types.private": { | 182 "types.private": { |
| 181 "channel": "dev", | 183 "channel": "dev", |
| 182 "extension_types": ["extension"], | 184 "extension_types": ["extension"], |
| 183 "location": "component" | 185 "location": "component" |
| 184 }, | 186 }, |
| 185 "usb": { | 187 "usb": { |
| 186 "dependencies": ["permission:usb"], | 188 "dependencies": ["permission:usb"], |
| 187 "contexts": ["blessed_extension"] | 189 "contexts": ["blessed_extension"] |
| 188 }, | 190 }, |
| 189 "usbPrivate": { | 191 "usbPrivate": { |
| 190 "channel": "dev", | 192 "channel": "dev", |
| 191 "contexts": ["webui"] | 193 "contexts": ["webui"] |
| 192 } | 194 } |
| 193 } | 195 } |
| OLD | NEW |