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

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

Issue 568583002: Introduce WebRequestEventRouterDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide tab_id and window_id from extensions. Created 6 years, 3 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/web_request.json
diff --git a/chrome/common/extensions/api/web_request.json b/chrome/common/extensions/api/web_request.json
index 5d279c76b3273250aa3cebd4cc17ccb1dfbfac64..0dd364c1bb2f73808b7de72a8cd08fb80a36c5cb 100644
--- a/chrome/common/extensions/api/web_request.json
+++ b/chrome/common/extensions/api/web_request.json
@@ -29,8 +29,15 @@
"description": "A list of request types. 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"] }
},
- "tabId": { "type": "integer", "optional": true },
- "windowId": { "type": "integer", "optional": true }
+ "extraRequestParams": {
+ "type": "object",
+ "optional": true,
+ "description": "A data structure that contains extra request parameters, such as tabID and windowID.",
+ "properties": {
+ "tabId": {"type": "integer", "optional": true},
+ "windowId": {"type": "integer", "optional": true}
+ }
+ }
}
},
{

Powered by Google App Engine
This is Rietveld 408576698