Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: extensions/common/api/_api_features.json

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 "contexts": ["blessed_extension"] 122 "contexts": ["blessed_extension"]
123 }, 123 },
124 "sockets.udp": { 124 "sockets.udp": {
125 "dependencies": ["manifest:sockets"], 125 "dependencies": ["manifest:sockets"],
126 "contexts": ["blessed_extension"] 126 "contexts": ["blessed_extension"]
127 }, 127 },
128 "storage": { 128 "storage": {
129 "dependencies": ["permission:storage"], 129 "dependencies": ["permission:storage"],
130 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 130 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
131 }, 131 },
132 "system.cpu": {
133 "dependencies": ["permission:system.cpu"],
134 "contexts": ["blessed_extension"]
135 },
136 "system.display": {
137 "dependencies": ["permission:system.display"],
138 "contexts": ["blessed_extension"]
139 },
140 "system.memory": {
141 "dependencies": ["permission:system.memory"],
142 "contexts": ["blessed_extension"]
143 },
144 "system.network": {
145 "dependencies": ["permission:system.network"],
146 "contexts": ["blessed_extension"]
147 },
148 "system.storage": {
149 "dependencies": ["permission:system.storage"],
150 "contexts": ["blessed_extension"]
151 },
152 "system.storage.getAvailableCapacity": {
153 "channel": "dev"
154 },
132 "test": [{ 155 "test": [{
133 "channel": "stable", 156 "channel": "stable",
134 "extension_types": "all", 157 "extension_types": "all",
135 // Everything except web pages and WebUI. WebUI is declared in a separate 158 // Everything except web pages and WebUI. WebUI is declared in a separate
136 // rule to keep the "matches" property isolated. 159 // rule to keep the "matches" property isolated.
137 "contexts": [ 160 "contexts": [
138 "blessed_extension", 161 "blessed_extension",
139 "blessed_web_page", 162 "blessed_web_page",
140 "content_script", 163 "content_script",
141 "unblessed_extension" 164 "unblessed_extension"
(...skipping 19 matching lines...) Expand all
161 }, 184 },
162 "usb": { 185 "usb": {
163 "dependencies": ["permission:usb"], 186 "dependencies": ["permission:usb"],
164 "contexts": ["blessed_extension"] 187 "contexts": ["blessed_extension"]
165 }, 188 },
166 "usbPrivate": { 189 "usbPrivate": {
167 "channel": "dev", 190 "channel": "dev",
168 "contexts": ["webui"] 191 "contexts": ["webui"]
169 } 192 }
170 } 193 }
OLDNEW
« no previous file with comments | « extensions/browser/test_extensions_browser_client.cc ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698