| 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."}
|
| }
|
| }
|
|
|