Chromium Code Reviews| 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
2012/12/18 03:09:58
How does a URL "represent first party for cookies"
vabr (Chromium)
2013/01/21 10:57:48
When it is the same URL, as the one associated to
| |
| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 536 "declarativeWebRequest.RemoveRequestHeader", | 541 "declarativeWebRequest.RemoveRequestHeader", |
| 537 "declarativeWebRequest.RemoveResponseHeader", | 542 "declarativeWebRequest.RemoveResponseHeader", |
| 538 "declarativeWebRequest.SetRequestHeader", | 543 "declarativeWebRequest.SetRequestHeader", |
| 539 "declarativeWebRequest.IgnoreRules" | 544 "declarativeWebRequest.IgnoreRules" |
| 540 ] | 545 ] |
| 541 } | 546 } |
| 542 } | 547 } |
| 543 ] | 548 ] |
| 544 } | 549 } |
| 545 ] | 550 ] |
| OLD | NEW |