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": "proxy", | 7 "namespace": "proxy", |
| 8 "description": "Use the <code>chrome.proxy</code> module to manage Chrome's
proxy settings.", |
8 "dependencies": [ "types" ], | 9 "dependencies": [ "types" ], |
9 "types": [ | 10 "types": [ |
10 { | 11 { |
11 "id": "ProxyServer", | 12 "id": "ProxyServer", |
12 "type": "object", | 13 "type": "object", |
13 "description": "An object encapsulating a single proxy server's specific
ation.", | 14 "description": "An object encapsulating a single proxy server's specific
ation.", |
14 "properties": { | 15 "properties": { |
15 "scheme": {"type": "string", "optional": true, "enum": ["http", "https
", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy serve
r itself. Defaults to 'http'."}, | 16 "scheme": {"type": "string", "optional": true, "enum": ["http", "https
", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy serve
r itself. Defaults to 'http'."}, |
16 "host": {"type": "string", "description": "The URI of the proxy server
. This must be an ASCII hostname (in Punycode format). IDNA is not supported, ye
t."}, | 17 "host": {"type": "string", "description": "The URI of the proxy server
. This must be an ASCII hostname (in Punycode format). IDNA is not supported, ye
t."}, |
17 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server. Defaults to a port that depends on the scheme."} | 18 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server. Defaults to a port that depends on the scheme."} |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "type": "string", | 88 "type": "string", |
88 "description": "Additional details about the error such as a Jav
aScript runtime error." | 89 "description": "Additional details about the error such as a Jav
aScript runtime error." |
89 } | 90 } |
90 } | 91 } |
91 } | 92 } |
92 ] | 93 ] |
93 } | 94 } |
94 ] | 95 ] |
95 } | 96 } |
96 ] | 97 ] |
OLD | NEW |