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

Unified Diff: extensions/common/api/_api_features.json

Issue 596003002: 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 | « extensions/common/BUILD.gn ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/_api_features.json
diff --git a/extensions/common/api/_api_features.json b/extensions/common/api/_api_features.json
index c72516fb3b9f42471fe1778f0edc4bb095dcb322..06fb89e3e447f44fc77c6d81934c772a50f9fa63 100644
--- a/extensions/common/api/_api_features.json
+++ b/extensions/common/api/_api_features.json
@@ -69,6 +69,10 @@
"dependencies": ["permission:app.window.shape"],
"contexts": ["blessed_extension"]
},
+ "declarativeWebRequest": {
+ "dependencies": ["permission:declarativeWebRequest"],
+ "contexts": ["blessed_extension"]
+ },
"dns": {
"dependencies": ["permission:dns"],
"contexts": ["blessed_extension"]
@@ -81,6 +85,13 @@
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
"contexts": ["blessed_extension"]
},
+ "events": {
+ "internal": true,
+ "channel": "stable",
+ "extension_types": ["platform_app", "extension"],
+ "contexts": "all",
+ "matches": ["<all_urls>"]
+ },
"guestViewInternal": [
{
"internal": true,
@@ -241,6 +252,21 @@
"channel": "dev",
"contexts": ["webui"]
},
+ "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/*"]
+ }],
"webViewExperimentalInternal": [{
"internal": true,
"channel": "dev",
@@ -268,5 +294,13 @@
"channel": "dev",
"contexts": ["webui"],
"matches": ["chrome://chrome-signin/*"]
+ }],
+ "webViewRequest": [{
+ "dependencies": ["permission:webview"],
+ "contexts": ["blessed_extension"]
+ }, {
+ "channel": "stable",
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
}]
}
« no previous file with comments | « extensions/common/BUILD.gn ('k') | extensions/common/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698