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

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

Issue 620623002: Revert "Allow declarative webrequest and webrequest in extensions." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "app.currentWindowInternal": { 62 "app.currentWindowInternal": {
63 "noparent": true, 63 "noparent": true,
64 "internal": true, 64 "internal": true,
65 "channel": "stable", 65 "channel": "stable",
66 "contexts": ["blessed_extension"] 66 "contexts": ["blessed_extension"]
67 }, 67 },
68 "app.currentWindowInternal.setShape": { 68 "app.currentWindowInternal.setShape": {
69 "dependencies": ["permission:app.window.shape"], 69 "dependencies": ["permission:app.window.shape"],
70 "contexts": ["blessed_extension"] 70 "contexts": ["blessed_extension"]
71 }, 71 },
72 "declarativeWebRequest": {
73 "dependencies": ["permission:declarativeWebRequest"],
74 "contexts": ["blessed_extension"]
75 },
76 "dns": { 72 "dns": {
77 "dependencies": ["permission:dns"], 73 "dependencies": ["permission:dns"],
78 "contexts": ["blessed_extension"] 74 "contexts": ["blessed_extension"]
79 }, 75 },
80 // This is not a real API, only here for documentation purposes. 76 // This is not a real API, only here for documentation purposes.
81 // See http://crbug.com/275944 for background. 77 // See http://crbug.com/275944 for background.
82 "extensionTypes": { 78 "extensionTypes": {
83 "internal": true, 79 "internal": true,
84 "channel": "stable", 80 "channel": "stable",
85 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 81 "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
86 "contexts": ["blessed_extension"] 82 "contexts": ["blessed_extension"]
87 }, 83 },
88 "events": {
89 "internal": true,
90 "channel": "stable",
91 "extension_types": ["platform_app", "extension"],
92 "contexts": "all",
93 "matches": ["<all_urls>"]
94 },
95 "guestViewInternal": [ 84 "guestViewInternal": [
96 { 85 {
97 "internal": true, 86 "internal": true,
98 "channel": "stable", 87 "channel": "stable",
99 "contexts": ["blessed_extension"] 88 "contexts": ["blessed_extension"]
100 }, { 89 }, {
101 "internal": true, 90 "internal": true,
102 "channel": "trunk", 91 "channel": "trunk",
103 "contexts": ["webui"], 92 "contexts": ["webui"],
104 "matches": [ 93 "matches": [
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 "location": "component" 234 "location": "component"
246 }, 235 },
247 "usb": { 236 "usb": {
248 "dependencies": ["permission:usb"], 237 "dependencies": ["permission:usb"],
249 "contexts": ["blessed_extension"] 238 "contexts": ["blessed_extension"]
250 }, 239 },
251 "usbPrivate": { 240 "usbPrivate": {
252 "channel": "dev", 241 "channel": "dev",
253 "contexts": ["webui"] 242 "contexts": ["webui"]
254 }, 243 },
255 "webRequest": {
256 "dependencies": ["permission:webRequest"],
257 "contexts": ["blessed_extension"]
258 },
259 "webRequestInternal": [{
260 "internal": true,
261 "channel": "stable",
262 "contexts": ["blessed_extension"]
263 }, {
264 // webview uses webRequestInternal API.
265 "channel": "stable",
266 "internal": true,
267 "contexts": ["webui"],
268 "matches": ["chrome://chrome-signin/*"]
269 }],
270 "webViewExperimentalInternal": [{ 244 "webViewExperimentalInternal": [{
271 "internal": true, 245 "internal": true,
272 "channel": "dev", 246 "channel": "dev",
273 "contexts": ["blessed_extension"], 247 "contexts": ["blessed_extension"],
274 "dependencies": ["permission:webview"] 248 "dependencies": ["permission:webview"]
275 }, 249 },
276 { 250 {
277 "internal": true, 251 "internal": true,
278 "channel": "stable", 252 "channel": "stable",
279 "contexts": ["blessed_extension"], 253 "contexts": ["blessed_extension"],
280 "dependencies": ["permission:webview"], 254 "dependencies": ["permission:webview"],
281 "whitelist": [ 255 "whitelist": [
282 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578", 256 "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
283 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB", 257 "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
284 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C", 258 "1A26E32DE447A17CBE5E9750CDBA78F58539B39C",
285 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3" 259 "59048028102D7B4C681DBC7BC6CD980C3DC66DA3"
286 ] 260 ]
287 }], 261 }],
288 "webViewInternal": [{ 262 "webViewInternal": [{
289 "internal": true, 263 "internal": true,
290 "dependencies": ["permission:webview"], 264 "dependencies": ["permission:webview"],
291 "contexts": ["blessed_extension"] 265 "contexts": ["blessed_extension"]
292 }, { 266 }, {
293 "internal": true, 267 "internal": true,
294 "channel": "dev", 268 "channel": "dev",
295 "contexts": ["webui"], 269 "contexts": ["webui"],
296 "matches": ["chrome://chrome-signin/*"] 270 "matches": ["chrome://chrome-signin/*"]
297 }],
298 "webViewRequest": [{
299 "dependencies": ["permission:webview"],
300 "contexts": ["blessed_extension"]
301 }, {
302 "channel": "stable",
303 "contexts": ["webui"],
304 "matches": ["chrome://chrome-signin/*"]
305 }] 271 }]
306 } 272 }
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_guest_delegate.h ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698