OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "declarativeWebRequest", | 7 "namespace": "declarativeWebRequest", |
8 "documentation_permissions_required": ["declarative", "declarativeWebRequest "], | 8 "documentation_permissions_required": ["declarative", "declarativeWebRequest "], |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 } | 60 } |
61 } | 61 } |
62 }, | 62 }, |
63 { | 63 { |
64 "id": "RequestMatcher", | 64 "id": "RequestMatcher", |
65 "type": "object", | 65 "type": "object", |
66 "description": "Matches network events by various criteria.", | 66 "description": "Matches network events by various criteria.", |
67 "properties": { | 67 "properties": { |
68 "url": { | 68 "url": { |
69 "$ref": "events.UrlFilter", | 69 "$ref": "events.UrlFilter", |
70 "description": "Matches if the condition of the UrlFilter are fulfil led for the URL of the request.", | 70 "description": "Matches if the conditions of the UrlFilter are fulfi lled for the URL of the request.", |
71 "optional": true | |
72 }, | |
73 "firstPartyForCookiesUrl": { | |
74 "$ref": "events.UrlFilter", | |
75 "description": "Matches if the conditions of the UrlFilter are fulfi lled for the URL representing first party for cookies.", | |
Jeffrey Yasskin
2013/01/24 00:39:17
As a fairly naive user of this API, "representing
vabr (Chromium)
2013/01/24 18:24:08
Done. How does that sound now?
Jeffrey Yasskin
2013/01/24 19:54:46
Not great, sorry to say. Again, go ahead and submi
vabr (Chromium)
2013/01/24 21:12:19
I agree. Unless Yoyo, who I need to review this fi
| |
71 "optional": true | 76 "optional": true |
72 }, | 77 }, |
73 "resourceType": { | 78 "resourceType": { |
74 "type": "array", | 79 "type": "array", |
75 "optional": true, | 80 "optional": true, |
76 "description": "Matches if the request type of a request is containe d in the list. Requests that cannot match any of the types will be filtered out. ", | 81 "description": "Matches if the request type of a request is containe d in the list. Requests that cannot match any of the types will be filtered out. ", |
77 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"] } | 82 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"] } |
78 }, | 83 }, |
79 "contentType": { | 84 "contentType": { |
80 "type": "array", | 85 "type": "array", |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
577 "tabId": {"type": "integer", "description": "The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab." }, | 582 "tabId": {"type": "integer", "description": "The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab." }, |
578 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description ": "How the requested resource will be used."}, | 583 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description ": "How the requested resource will be used."}, |
579 "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."} | 584 "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."} |
580 } | 585 } |
581 } | 586 } |
582 ] | 587 ] |
583 } | 588 } |
584 ] | 589 ] |
585 } | 590 } |
586 ] | 591 ] |
OLD | NEW |