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

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

Issue 9315010: RulesRegistry for declarative APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT for trybot testing Created 8 years, 10 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/webRequest.json
diff --git a/chrome/common/extensions/api/webRequest.json b/chrome/common/extensions/api/webRequest.json
index 52e007f9f7d62885a8360473df33c4e340062d26..d7f90ce116e767ea0be9c5a37e5342a4ef4f2dd3 100644
--- a/chrome/common/extensions/api/webRequest.json
+++ b/chrome/common/extensions/api/webRequest.json
@@ -87,7 +87,7 @@
"description": "Matches for a full URL",
"optional": true
},
- "filterType": { "type": "string", "enum": ["net.RequestMatcher"] }
+ "instanceType": { "type": "string", "enum": ["webRequest.RequestMatcher"] }
}
},
{
@@ -96,7 +96,7 @@
"description": "Declarative event action that cancels a network request. Experimental junk, do not use!",
"type": "object",
"properties": {
- "actionType": { "type": "string", "enum": ["net.CancelRequest"] }
+ "instanceType": { "type": "string", "enum": ["webRequest.CancelRequest"] }
}
},
{
@@ -105,7 +105,7 @@
"description": "Declarative event action that modifies a network request. Experimental junk, do not use!",
"type": "object",
"properties": {
- "actionType": { "type": "string", "enum": ["net.ModifyRequest"] }
+ "instanceType": { "type": "string", "enum": ["webRequest.ModifyRequest"] }
}
}
],

Powered by Google App Engine
This is Rietveld 408576698