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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 "content_script", | 91 "content_script", |
92 "blessed_extension", | 92 "blessed_extension", |
93 "unblessed_extension", | 93 "unblessed_extension", |
94 "web_page" | 94 "web_page" |
95 ], | 95 ], |
96 "matches": ["<all_urls>"] | 96 "matches": ["<all_urls>"] |
97 }, | 97 }, |
98 "runtime.setUninstallURL": { | 98 "runtime.setUninstallURL": { |
99 "channel": "dev" | 99 "channel": "dev" |
100 }, | 100 }, |
| 101 "serial": { |
| 102 "dependencies": ["permission:serial"], |
| 103 "contexts": ["blessed_extension"] |
| 104 }, |
101 "socket": { | 105 "socket": { |
102 "dependencies": ["permission:socket"], | 106 "dependencies": ["permission:socket"], |
103 "contexts": ["blessed_extension"] | 107 "contexts": ["blessed_extension"] |
104 }, | 108 }, |
105 "sockets.tcp": { | 109 "sockets.tcp": { |
106 "dependencies": ["manifest:sockets"], | 110 "dependencies": ["manifest:sockets"], |
107 "contexts": ["blessed_extension"] | 111 "contexts": ["blessed_extension"] |
108 }, | 112 }, |
109 "sockets.tcpServer": { | 113 "sockets.tcpServer": { |
110 "dependencies": ["manifest:sockets"], | 114 "dependencies": ["manifest:sockets"], |
(...skipping 27 matching lines...) Expand all Loading... |
138 "types.private": { | 142 "types.private": { |
139 "channel": "dev", | 143 "channel": "dev", |
140 "extension_types": ["extension"], | 144 "extension_types": ["extension"], |
141 "location": "component" | 145 "location": "component" |
142 }, | 146 }, |
143 "usb": { | 147 "usb": { |
144 "dependencies": ["permission:usb"], | 148 "dependencies": ["permission:usb"], |
145 "contexts": ["blessed_extension"] | 149 "contexts": ["blessed_extension"] |
146 } | 150 } |
147 } | 151 } |
OLD | NEW |