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

Unified Diff: chrome/common/extensions/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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/api/_permission_features.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/_api_features.json
diff --git a/chrome/common/extensions/api/_api_features.json b/chrome/common/extensions/api/_api_features.json
index b7e3d05c54c5629d7f23c7afacb6a5eaf0bd8c69..4e95a5eacc1ff903633bdfd5c95c45f387b6d496 100644
--- a/chrome/common/extensions/api/_api_features.json
+++ b/chrome/common/extensions/api/_api_features.json
@@ -250,6 +250,10 @@
"dependencies": ["permission:declarativeContent"],
"contexts": ["blessed_extension"]
},
+ "declarativeWebRequest": {
+ "dependencies": ["permission:declarativeWebRequest"],
+ "contexts": ["blessed_extension"]
+ },
"desktopCapture": {
"dependencies": ["permission:desktopCapture"],
"contexts": ["blessed_extension"]
@@ -309,6 +313,13 @@
"dependencies": ["permission:enterprise.platformKeysPrivate"],
"contexts": ["blessed_extension"]
},
+ "events": {
+ "internal": true,
+ "channel": "stable",
+ "extension_types": ["platform_app", "extension"],
+ "contexts": "all",
+ "matches": ["<all_urls>"]
+ },
"experienceSamplingPrivate": {
"dependencies": ["permission:experienceSamplingPrivate"],
"contexts": ["blessed_extension"]
@@ -715,6 +726,21 @@
"dependencies": ["permission:webNavigation"],
"contexts": ["blessed_extension"]
},
+ "webRequest": {
+ "dependencies": ["permission:webRequest"],
+ "contexts": ["blessed_extension"]
+ },
+ "webRequestInternal": [{
+ "internal": true,
+ "channel": "stable",
+ "contexts": ["blessed_extension"]
+ }, {
+ // webview uses webRequestInternal API.
+ "channel": "stable",
+ "internal": true,
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
+ }],
"webrtcAudioPrivate": {
"dependencies": ["permission:webrtcAudioPrivate"],
"contexts": ["blessed_extension"]
@@ -742,6 +768,14 @@
// given the blessed_extension denomination. Confusing.
"contexts": ["blessed_extension"]
},
+ "webViewRequest": [{
+ "dependencies": ["permission:webview"],
+ "contexts": ["blessed_extension"]
+ }, {
+ "channel": "stable",
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
+ }],
"webviewTag": {
"internal": true,
"channel": "stable",
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698