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": "events", | 7 "namespace": "events", |
8 "internal": true, | 8 "internal": true, |
9 "unprivileged": true, | 9 "unprivileged": true, |
10 "types": [ | 10 "types": [ |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 "priority": { | 184 "priority": { |
185 "type": "integer", | 185 "type": "integer", |
186 "optional": true, | 186 "optional": true, |
187 "description": "Optional priority of this rule. Defaults to 100." | 187 "description": "Optional priority of this rule. Defaults to 100." |
188 } | 188 } |
189 } | 189 } |
190 }, | 190 }, |
191 { | 191 { |
192 "id": "UrlFilter", | 192 "id": "UrlFilter", |
193 "type": "object", | 193 "type": "object", |
194 "description": "Filters URLs for various criteria. See <a href='#filtere
d'>event filtering</a>.", | 194 "description": "Filters URLs for various criteria. See <a href='#filtere
d'>event filtering</a>. All criteria are case sensitive.", |
195 "nocompile": true, | 195 "nocompile": true, |
196 "properties": { | 196 "properties": { |
197 "hostContains": { | 197 "hostContains": { |
198 "type": "string", | 198 "type": "string", |
199 "description": "Matches if the host name of the URL contains a speci
fied string. To test whether a host name component has a prefix 'foo', use hostC
ontains: '.foo'. This matches 'www.foobar.com' and 'foo.com', because an implici
t dot is added at the beginning of the host name. Similarly, hostContains can be
used to match against component suffix ('foo.') and to exactly match against co
mponents ('.foo.'). Suffix- and exact-matching for the last components need to b
e done separately using hostSuffix, because no implicit dot is added at the end
of the host name.", | 199 "description": "Matches if the host name of the URL contains a speci
fied string. To test whether a host name component has a prefix 'foo', use hostC
ontains: '.foo'. This matches 'www.foobar.com' and 'foo.com', because an implici
t dot is added at the beginning of the host name. Similarly, hostContains can be
used to match against component suffix ('foo.') and to exactly match against co
mponents ('.foo.'). Suffix- and exact-matching for the last components need to b
e done separately using hostSuffix, because no implicit dot is added at the end
of the host name.", |
200 "optional": true | 200 "optional": true |
201 }, | 201 }, |
202 "hostEquals": { | 202 "hostEquals": { |
203 "type": "string", | 203 "type": "string", |
204 "description": "Matches if the host name of the URL is equal to a sp
ecified string.", | 204 "description": "Matches if the host name of the URL is equal to a sp
ecified string.", |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 {"type": "array", "items": {"type": "integer"}, "description": "
A pair of integers identiying the start and end (both inclusive) of a port range
."} | 295 {"type": "array", "items": {"type": "integer"}, "description": "
A pair of integers identiying the start and end (both inclusive) of a port range
."} |
296 ] | 296 ] |
297 } | 297 } |
298 } | 298 } |
299 } | 299 } |
300 } | 300 } |
301 ] | 301 ] |
302 } | 302 } |
303 ] | 303 ] |
304 | 304 |
OLD | NEW |