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": "webRequest", | 7 "namespace": "webRequest", |
8 "description": "Use the <code>chrome.webRequest</code> API to observe and an
alyze traffic and to intercept, block, or modify requests in-flight.", | 8 "description": "Use the <code>chrome.webRequest</code> API to observe and an
alyze traffic and to intercept, block, or modify requests in-flight.", |
9 "properties": { | 9 "properties": { |
10 "MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES": { | 10 "MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES": { |
11 "value": 20, | 11 "value": 20, |
12 "description": "The maximum number of times that <code>handlerBehaviorCh
anged</code> can be called per 10 minute sustained interval. <code>handlerBehavi
orChanged</code> is an expensive function call that shouldn't be called often." | 12 "description": "The maximum number of times that <code>handlerBehaviorCh
anged</code> can be called per 10 minute sustained interval. <code>handlerBehavi
orChanged</code> is an expensive function call that shouldn't be called often." |
13 } | 13 } |
14 }, | 14 }, |
15 "types": [ | 15 "types": [ |
16 { | 16 { |
17 "id": "ResourceType", | 17 "id": "ResourceType", |
18 "type": "string", | 18 "type": "string", |
19 "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "ob
ject", "xmlhttprequest", "other"] | 19 "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "fo
nt", "object", "xmlhttprequest", "ping", "other"] |
20 }, | 20 }, |
21 { | 21 { |
22 "id": "OnBeforeRequestOptions", | 22 "id": "OnBeforeRequestOptions", |
23 "type": "string", | 23 "type": "string", |
24 "enum": ["blocking", "requestBody"] | 24 "enum": ["blocking", "requestBody"] |
25 }, | 25 }, |
26 { | 26 { |
27 "id": "OnBeforeSendHeadersOptions", | 27 "id": "OnBeforeSendHeadersOptions", |
28 "type": "string", | 28 "type": "string", |
29 "enum": ["requestHeaders", "blocking"] | 29 "enum": ["requestHeaders", "blocking"] |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 { | 573 { |
574 "$ref": "RequestFilter", | 574 "$ref": "RequestFilter", |
575 "name": "filter", | 575 "name": "filter", |
576 "description": "A set of filters that restricts the events that will
be sent to this listener." | 576 "description": "A set of filters that restricts the events that will
be sent to this listener." |
577 } | 577 } |
578 ] | 578 ] |
579 } | 579 } |
580 ] | 580 ] |
581 } | 581 } |
582 ] | 582 ] |
OLD | NEW |