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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "contexts": ["blessed_extension"] | 93 "contexts": ["blessed_extension"] |
94 }, | 94 }, |
95 "sockets.udp": { | 95 "sockets.udp": { |
96 "dependencies": ["manifest:sockets"], | 96 "dependencies": ["manifest:sockets"], |
97 "contexts": ["blessed_extension"] | 97 "contexts": ["blessed_extension"] |
98 }, | 98 }, |
99 "storage": { | 99 "storage": { |
100 "dependencies": ["permission:storage"], | 100 "dependencies": ["permission:storage"], |
101 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 101 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
102 }, | 102 }, |
| 103 "system.cpu": { |
| 104 "dependencies": ["permission:system.cpu"], |
| 105 "contexts": ["blessed_extension"] |
| 106 }, |
| 107 "system.display": { |
| 108 "dependencies": ["permission:system.display"], |
| 109 "contexts": ["blessed_extension"] |
| 110 }, |
| 111 "system.memory": { |
| 112 "dependencies": ["permission:system.memory"], |
| 113 "contexts": ["blessed_extension"] |
| 114 }, |
| 115 "system.network": { |
| 116 "dependencies": ["permission:system.network"], |
| 117 "contexts": ["blessed_extension"] |
| 118 }, |
| 119 "system.storage": { |
| 120 "dependencies": ["permission:system.storage"], |
| 121 "contexts": ["blessed_extension"] |
| 122 }, |
| 123 "system.storage.getAvailableCapacity": { |
| 124 "channel": "dev" |
| 125 }, |
103 "test": { | 126 "test": { |
104 "internal": true, | 127 "internal": true, |
105 "channel": "stable", | 128 "channel": "stable", |
106 "extension_types": "all", | 129 "extension_types": "all", |
107 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] | 130 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] |
108 }, | 131 }, |
109 "types": { | 132 "types": { |
110 "channel": "stable", | 133 "channel": "stable", |
111 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], | 134 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], |
112 "contexts": ["blessed_extension"] | 135 "contexts": ["blessed_extension"] |
113 }, | 136 }, |
114 "types.private": { | 137 "types.private": { |
115 "channel": "dev", | 138 "channel": "dev", |
116 "extension_types": ["extension"], | 139 "extension_types": ["extension"], |
117 "location": "component" | 140 "location": "component" |
118 }, | 141 }, |
119 "usb": { | 142 "usb": { |
120 "dependencies": ["permission:usb"], | 143 "dependencies": ["permission:usb"], |
121 "contexts": ["blessed_extension"] | 144 "contexts": ["blessed_extension"] |
122 } | 145 } |
123 } | 146 } |
OLD | NEW |