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

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: Clean up RuleRegistry in ExtensionsApiClient. 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
Index: extensions/common/api/_api_features.json
diff --git a/extensions/common/api/_api_features.json b/extensions/common/api/_api_features.json
index 10702fba593449d8f0020bf851e6464e390fa6a8..cb9ea251b2a5770ed3168b9ccc98492a22a366cf 100644
--- a/extensions/common/api/_api_features.json
+++ b/extensions/common/api/_api_features.json
@@ -55,6 +55,10 @@
"dependencies": ["permission:app.window.shape"],
"contexts": ["blessed_extension"]
},
+ "declarativeWebRequest": {
+ "dependencies": ["permission:declarativeWebRequest"],
+ "contexts": ["blessed_extension"]
+ },
"dns": {
"dependencies": ["permission:dns"],
"contexts": ["blessed_extension"]
@@ -67,6 +71,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,
@@ -227,6 +238,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",
@@ -254,5 +280,13 @@
"channel": "dev",
"contexts": ["webui"],
"matches": ["chrome://chrome-signin/*"]
+ }],
+ "webViewRequest": [{
+ "dependencies": ["permission:webview"],
+ "contexts": ["blessed_extension"]
+ }, {
+ "channel": "stable",
+ "contexts": ["webui"],
+ "matches": ["chrome://chrome-signin/*"]
}]
}

Powered by Google App Engine
This is Rietveld 408576698