| 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 "thirdParty": { |
| 104 "type": "boolean", |
| 105 "optional": true, |
| 106 "description": "If set to true, matches requests with third-party or
igins. If set to false, matches requests with first-party origins." |
| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 "declarativeWebRequest.RemoveRequestHeader", | 451 "declarativeWebRequest.RemoveRequestHeader", |
| 447 "declarativeWebRequest.RemoveResponseHeader", | 452 "declarativeWebRequest.RemoveResponseHeader", |
| 448 "declarativeWebRequest.SetRequestHeader", | 453 "declarativeWebRequest.SetRequestHeader", |
| 449 "declarativeWebRequest.IgnoreRules" | 454 "declarativeWebRequest.IgnoreRules" |
| 450 ] | 455 ] |
| 451 } | 456 } |
| 452 } | 457 } |
| 453 ] | 458 ] |
| 454 } | 459 } |
| 455 ] | 460 ] |
| OLD | NEW |