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

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

Issue 10836078: Remove instanceType attributes from API documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/notifications.zip » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/declarative_web_request.json
diff --git a/chrome/common/extensions/api/declarative_web_request.json b/chrome/common/extensions/api/declarative_web_request.json
index 33fa8a8f0c41923e1afddbe06816777ac09c3a0f..e6262d3cd23e8699d10673c576946c8e5f7aa623 100644
--- a/chrome/common/extensions/api/declarative_web_request.json
+++ b/chrome/common/extensions/api/declarative_web_request.json
@@ -23,7 +23,10 @@
"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": ["declarativeWebRequest.RequestMatcher"] }
+ "instanceType": {
+ "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"],
+ "nodoc": true
+ }
}
},
{
@@ -31,7 +34,10 @@
"description": "Declarative event action that cancels a network request.",
"type": "object",
"properties": {
- "instanceType": { "type": "string", "enum": ["declarativeWebRequest.CancelRequest"] }
+ "instanceType": {
+ "type": "string", "enum": ["declarativeWebRequest.CancelRequest"],
+ "nodoc": true
+ }
}
},
{
@@ -39,7 +45,10 @@
"description": "Declarative event action that redirects a network request.",
"type": "object",
"properties": {
- "instanceType": { "type": "string", "enum": ["declarativeWebRequest.RedirectRequest"] },
+ "instanceType": {
+ "type": "string", "enum": ["declarativeWebRequest.RedirectRequest"],
+ "nodoc": true
+ },
"redirectUrl": { "type": "string", "description": "Destination to where the request is redirected."}
}
},
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/notifications.zip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698