Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: chrome/common/extensions/api/proxy.json

Issue 144623006: Implement support for QUIC proxies in ProxyServer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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> API to manage Chrome's pro xy settings. This API relies on the <a href='types.html#ChromeSetting'>ChromeSet ting prototype of the type API</a> for getting and setting the proxy configurati on.", 8 "description": "Use the <code>chrome.proxy</code> API to manage Chrome's pro xy settings. This API relies on the <a href='types.html#ChromeSetting'>ChromeSet ting prototype of the type API</a> for getting and setting the proxy configurati on.",
9 "types": [ 9 "types": [
10 { 10 {
11 "id": "ProxyServer", 11 "id": "ProxyServer",
12 "type": "object", 12 "type": "object",
13 "description": "An object encapsulating a single proxy server's specific ation.", 13 "description": "An object encapsulating a single proxy server's specific ation.",
14 "properties": { 14 "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'."}, 15 "scheme": {"type": "string", "optional": true, "enum": ["http", "https ", "quic", "socks4", "socks5"], "description": "The scheme (protocol) of the pro xy server 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."}, 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 "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."}
18 } 18 }
19 }, 19 },
20 { 20 {
21 "id": "ProxyRules", 21 "id": "ProxyRules",
22 "type": "object", 22 "type": "object",
23 "description": "An object encapsulating the set of proxy rules for all p rotocols. Use either 'singleProxy' or (a subset of) 'proxyForHttp', 'proxyForHtt ps', 'proxyForFtp' and 'fallbackProxy'.", 23 "description": "An object encapsulating the set of proxy rules for all p rotocols. Use either 'singleProxy' or (a subset of) 'proxyForHttp', 'proxyForHtt ps', 'proxyForFtp' and 'fallbackProxy'.",
24 "properties": { 24 "properties": {
25 "singleProxy": {"$ref": "ProxyServer", "optional": true, "description" : "The proxy server to be used for all per-URL requests (that is http, https, an d ftp)."}, 25 "singleProxy": {"$ref": "ProxyServer", "optional": true, "description" : "The proxy server to be used for all per-URL requests (that is http, https, an d ftp)."},
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "type": "string", 87 "type": "string",
88 "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."
89 } 89 }
90 } 90 }
91 } 91 }
92 ] 92 ]
93 } 93 }
94 ] 94 ]
95 } 95 }
96 ] 96 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/proxy/proxy_apitest.cc ('k') | chrome/test/data/extensions/api_test/proxy/individual/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698