| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 "optional": true, | 93 "optional": true, |
| 94 "description": "Matches if some of the response headers is matched b
y one of the HeaderFilters.", | 94 "description": "Matches if some of the response headers is matched b
y one of the HeaderFilters.", |
| 95 "items": { "$ref": "HeaderFilter" } | 95 "items": { "$ref": "HeaderFilter" } |
| 96 }, | 96 }, |
| 97 "excludeResponseHeaders": { | 97 "excludeResponseHeaders": { |
| 98 "type": "array", | 98 "type": "array", |
| 99 "optional": true, | 99 "optional": true, |
| 100 "description": "Matches if none of the response headers is matched b
y one of the HeaderFilters.", | 100 "description": "Matches if none of the response headers is matched b
y one of the HeaderFilters.", |
| 101 "items": { "$ref": "HeaderFilter" } | 101 "items": { "$ref": "HeaderFilter" } |
| 102 }, | 102 }, |
| 103 "thirdPartyForCookies": { |
| 104 "type": "boolean", |
| 105 "optional": true, |
| 106 "description": "If set to true, matches requests that are subject to
third-party cookie policies. If set to false, matches all other requests." |
| 107 }, |
| 103 "instanceType": { | 108 "instanceType": { |
| 104 "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"], | 109 "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"], |
| 105 "nodoc": true | 110 "nodoc": true |
| 106 } | 111 } |
| 107 } | 112 } |
| 108 }, | 113 }, |
| 109 { | 114 { |
| 110 "id": "CancelRequest", | 115 "id": "CancelRequest", |
| 111 "description": "Declarative event action that cancels a network request.
", | 116 "description": "Declarative event action that cancels a network request.
", |
| 112 "type": "object", | 117 "type": "object", |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 "declarativeWebRequest.RemoveRequestHeader", | 515 "declarativeWebRequest.RemoveRequestHeader", |
| 511 "declarativeWebRequest.RemoveResponseHeader", | 516 "declarativeWebRequest.RemoveResponseHeader", |
| 512 "declarativeWebRequest.SetRequestHeader", | 517 "declarativeWebRequest.SetRequestHeader", |
| 513 "declarativeWebRequest.IgnoreRules" | 518 "declarativeWebRequest.IgnoreRules" |
| 514 ] | 519 ] |
| 515 } | 520 } |
| 516 } | 521 } |
| 517 ] | 522 ] |
| 518 } | 523 } |
| 519 ] | 524 ] |
| OLD | NEW |