| 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 "dependencies": [ "types" ], | |
| 9 "types": [ | 8 "types": [ |
| 10 { | 9 { |
| 11 "id": "ProxyServer", | 10 "id": "ProxyServer", |
| 12 "type": "object", | 11 "type": "object", |
| 13 "description": "An object encapsulating a single proxy server's specific
ation.", | 12 "description": "An object encapsulating a single proxy server's specific
ation.", |
| 14 "properties": { | 13 "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'."}, | 14 "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."}, | 15 "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."} | 16 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server. Defaults to a port that depends on the scheme."} |
| 18 } | 17 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "type": "string", | 86 "type": "string", |
| 88 "description": "Additional details about the error such as a Jav
aScript runtime error." | 87 "description": "Additional details about the error such as a Jav
aScript runtime error." |
| 89 } | 88 } |
| 90 } | 89 } |
| 91 } | 90 } |
| 92 ] | 91 ] |
| 93 } | 92 } |
| 94 ] | 93 ] |
| 95 } | 94 } |
| 96 ] | 95 ] |
| OLD | NEW |