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

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: Created 8 years, 8 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 84%
rename from chrome/common/extensions/api/experimental.webRequest.json
rename to chrome/common/extensions/api/declarativeWebRequest.json
index 1b30d1385472947e59014dc311399b01949f34b8..884dadc5b983f72611fec7c08ae267092c4253fc 100644
--- a/chrome/common/extensions/api/experimental.webRequest.json
+++ b/chrome/common/extensions/api/declarativeWebRequest.json
@@ -4,7 +4,7 @@
[
{
- "namespace": "experimental.webRequest",
+ "namespace": "declarativeWebRequest",
"types": [
{
"id": "RequestMatcher",
@@ -22,7 +22,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 +30,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 +38,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."}
}
}

Powered by Google App Engine
This is Rietveld 408576698