| 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. This module relies on the <a href='types.html#ChromeSetting'>Chr
omeSetting prototype of the type API</a> for getting and setting the proxy confi
guration.", |
| 8 "types": [ | 9 "types": [ |
| 9 { | 10 { |
| 10 "id": "ProxyServer", | 11 "id": "ProxyServer", |
| 11 "type": "object", | 12 "type": "object", |
| 12 "description": "An object encapsulating a single proxy server's specific
ation.", | 13 "description": "An object encapsulating a single proxy server's specific
ation.", |
| 13 "properties": { | 14 "properties": { |
| 14 "scheme": {"type": "string", "optional": true, "enum": ["http", "https
", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy serve
r itself. Defaults to 'http'."}, | 15 "scheme": {"type": "string", "optional": true, "enum": ["http", "https
", "socks4", "socks5"], "description": "The scheme (protocol) of the proxy serve
r itself. Defaults to 'http'."}, |
| 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."}, | 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."}, |
| 16 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server. Defaults to a port that depends on the scheme."} | 17 "port": {"type": "integer", "optional": true, "description": "The port
of the proxy server. Defaults to a port that depends on the scheme."} |
| 17 } | 18 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 "type": "string", | 87 "type": "string", |
| 87 "description": "Additional details about the error such as a Jav
aScript runtime error." | 88 "description": "Additional details about the error such as a Jav
aScript runtime error." |
| 88 } | 89 } |
| 89 } | 90 } |
| 90 } | 91 } |
| 91 ] | 92 ] |
| 92 } | 93 } |
| 93 ] | 94 ] |
| 94 } | 95 } |
| 95 ] | 96 ] |
| OLD | NEW |