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

Unified Diff: chrome/common/extensions/api/declarativeWebRequest.json

Issue 10257006: Move Declarative Web Request API out of experimental and make it a feature (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 years, 7 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: chrome/common/extensions/api/declarativeWebRequest.json
diff --git a/chrome/common/extensions/api/experimental.webRequest.json b/chrome/common/extensions/api/declarativeWebRequest.json
similarity index 81%
rename from chrome/common/extensions/api/experimental.webRequest.json
rename to chrome/common/extensions/api/declarativeWebRequest.json
index 1b30d1385472947e59014dc311399b01949f34b8..0a40532a105a21b836b023f0bcc8f94e6e5d1fa0 100644
--- a/chrome/common/extensions/api/experimental.webRequest.json
+++ b/chrome/common/extensions/api/declarativeWebRequest.json
@@ -4,7 +4,8 @@
[
{
- "namespace": "experimental.webRequest",
+ "namespace": "declarativeWebRequest",
+ "documentation_permissions_required": ["declarative", "declarativeWebRequest"],
"types": [
{
"id": "RequestMatcher",
@@ -22,7 +23,7 @@
"description": "Matches if the request type of a request is contained in the list. Requests that cannot match any of the types will be filtered out.",
"items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] }
},
- "instanceType": { "type": "string", "enum": ["experimental.webRequest.RequestMatcher"] }
+ "instanceType": { "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"] }
}
},
{
@@ -30,7 +31,7 @@
"description": "Declarative event action that cancels a network request.",
"type": "object",
"properties": {
- "instanceType": { "type": "string", "enum": ["experimental.webRequest.CancelRequest"] }
+ "instanceType": { "type": "string", "enum": ["declarativeWebRequest.CancelRequest"] }
}
},
{
@@ -38,7 +39,7 @@
"description": "Declarative event action that redirects a network request. (TODO: add destination)",
"type": "object",
"properties": {
- "instanceType": { "type": "string", "enum": ["experimental.webRequest.RedirectRequest"] },
+ "instanceType": { "type": "string", "enum": ["declarativeWebRequest.RedirectRequest"] },
"redirectUrl": { "type": "string", "description": "Destination to where the request is redirected."}
}
}
« no previous file with comments | « chrome/common/extensions/api/declarative.json ('k') | chrome/common/extensions/api/experimental.declarative.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698