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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 "description": "Matches if the query segment of the URL starts with
a specified string.", | 249 "description": "Matches if the query segment of the URL starts with
a specified string.", |
250 "optional": true | 250 "optional": true |
251 }, | 251 }, |
252 "querySuffix": { | 252 "querySuffix": { |
253 "type": "string", | 253 "type": "string", |
254 "description": "Matches if the query segment of the URL ends with a
specified string.", | 254 "description": "Matches if the query segment of the URL ends with a
specified string.", |
255 "optional": true | 255 "optional": true |
256 }, | 256 }, |
257 "urlContains": { | 257 "urlContains": { |
258 "type": "string", | 258 "type": "string", |
259 "description": "Matches if the URL contains a specified string.", | 259 "description": "Matches if the URL (without fragment identifier) con
tains a specified string. Port numbers are stripped from the URL if they match t
he default port number.", |
260 "optional": true | 260 "optional": true |
261 }, | 261 }, |
262 "urlEquals": { | 262 "urlEquals": { |
263 "type": "string", | 263 "type": "string", |
264 "description": "Matches if the URL is equal to a specified string.", | 264 "description": "Matches if the URL (without fragment identifier) is
equal to a specified string. Port numbers are stripped from the URL if they matc
h the default port number.", |
265 "optional": true | 265 "optional": true |
266 }, | 266 }, |
267 "urlPrefix": { | 267 "urlPrefix": { |
268 "type": "string", | 268 "type": "string", |
269 "description": "Matches if the URL starts with a specified string.", | 269 "description": "Matches if the URL (without fragment identifier) sta
rts with a specified string. Port numbers are stripped from the URL if they matc
h the default port number.", |
270 "optional": true | 270 "optional": true |
271 }, | 271 }, |
272 "urlSuffix": { | 272 "urlSuffix": { |
273 "type": "string", | 273 "type": "string", |
274 "description": "Matches if the URL ends with a specified string.", | 274 "description": "Matches if the URL (without fragment identifier) end
s with a specified string. Port numbers are stripped from the URL if they match
the default port number.", |
275 "optional": true | 275 "optional": true |
276 }, | 276 }, |
277 "schemes": { | 277 "schemes": { |
278 "type": "array", | 278 "type": "array", |
279 "description": "Matches if the scheme of the URL is equal to any of
the schemes specified in the array.", | 279 "description": "Matches if the scheme of the URL is equal to any of
the schemes specified in the array.", |
280 "optional": true, | 280 "optional": true, |
281 "items": { "type": "string" } | 281 "items": { "type": "string" } |
282 }, | 282 }, |
283 "ports": { | 283 "ports": { |
284 "type": "array", | 284 "type": "array", |
285 "description": "Matches if the port of the URL is contained in any o
f the specified port lists. For example <code>[80, 443, [1000, 1200]]</code> mat
ches all requests on port 80, 443 and in the range 1000-1200.", | 285 "description": "Matches if the port of the URL is contained in any o
f the specified port lists. For example <code>[80, 443, [1000, 1200]]</code> mat
ches all requests on port 80, 443 and in the range 1000-1200.", |
286 "optional": true, | 286 "optional": true, |
287 "items": { | 287 "items": { |
288 "choices": [ | 288 "choices": [ |
289 {"type": "integer", "description": "A specific port."}, | 289 {"type": "integer", "description": "A specific port."}, |
290 {"type": "array", "items": {"type": "integer"}, "description": "
A pair of integers identiying the start and end (both inclusive) of a port range
."} | 290 {"type": "array", "items": {"type": "integer"}, "description": "
A pair of integers identiying the start and end (both inclusive) of a port range
."} |
291 ] | 291 ] |
292 } | 292 } |
293 } | 293 } |
294 } | 294 } |
295 } | 295 } |
296 ] | 296 ] |
297 } | 297 } |
298 ] | 298 ] |
299 | 299 |
OLD | NEW |