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

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: No ash/ dependency anymore 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "contexts": ["blessed_extension"] 115 "contexts": ["blessed_extension"]
116 }, 116 },
117 "sockets.udp": { 117 "sockets.udp": {
118 "dependencies": ["manifest:sockets"], 118 "dependencies": ["manifest:sockets"],
119 "contexts": ["blessed_extension"] 119 "contexts": ["blessed_extension"]
120 }, 120 },
121 "storage": { 121 "storage": {
122 "dependencies": ["permission:storage"], 122 "dependencies": ["permission:storage"],
123 "contexts": ["blessed_extension", "unblessed_extension", "content_script"] 123 "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
124 }, 124 },
125 "system.cpu": {
126 "dependencies": ["permission:system.cpu"],
127 "contexts": ["blessed_extension"]
128 },
129 "system.display": {
130 "dependencies": ["permission:system.display"],
131 "contexts": ["blessed_extension"]
132 },
133 "system.memory": {
134 "dependencies": ["permission:system.memory"],
135 "contexts": ["blessed_extension"]
136 },
137 "system.network": {
138 "dependencies": ["permission:system.network"],
139 "contexts": ["blessed_extension"]
140 },
141 "system.storage": {
142 "dependencies": ["permission:system.storage"],
143 "contexts": ["blessed_extension"]
144 },
145 "system.storage.getAvailableCapacity": {
146 "channel": "dev"
147 },
125 "test": [{ 148 "test": [{
126 "channel": "stable", 149 "channel": "stable",
127 "extension_types": "all", 150 "extension_types": "all",
128 // Everything except web pages and WebUI. WebUI is declared in a separate 151 // Everything except web pages and WebUI. WebUI is declared in a separate
129 // rule to keep the "matches" property isolated. 152 // rule to keep the "matches" property isolated.
130 "contexts": [ 153 "contexts": [
131 "blessed_extension", 154 "blessed_extension",
132 "blessed_web_page", 155 "blessed_web_page",
133 "content_script", 156 "content_script",
134 "unblessed_extension" 157 "unblessed_extension"
(...skipping 19 matching lines...) Expand all
154 }, 177 },
155 "usb": { 178 "usb": {
156 "dependencies": ["permission:usb"], 179 "dependencies": ["permission:usb"],
157 "contexts": ["blessed_extension"] 180 "contexts": ["blessed_extension"]
158 }, 181 },
159 "usbPrivate": { 182 "usbPrivate": {
160 "channel": "dev", 183 "channel": "dev",
161 "contexts": ["webui"] 184 "contexts": ["webui"]
162 } 185 }
163 } 186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698