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

Unified Diff: third_party/chrome/idl/web_socket_proxy_private.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/chrome/idl/web_request_internal.json ('k') | third_party/chrome/idl/webstore.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/idl/web_socket_proxy_private.json
diff --git a/third_party/chrome/idl/web_socket_proxy_private.json b/third_party/chrome/idl/web_socket_proxy_private.json
new file mode 100644
index 0000000000000000000000000000000000000000..4afa79275cdb30a42249a92df9b6fbb8860b1951
--- /dev/null
+++ b/third_party/chrome/idl/web_socket_proxy_private.json
@@ -0,0 +1,82 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ {
+ "namespace": "webSocketProxyPrivate",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "getPassportForTCP",
+ "description": "requests authorization token for websocket to TCP proxy.",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "hostname",
+ "minLength": 1,
+ "description": "hostname to which TCP connection is requested."
+ },
+ {
+ "type": "integer",
+ "name": "port",
+ "minimum": 1,
+ "maximum": 65535,
+ "description": "TCP port number."
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "passport",
+ "description": "Passport for passing to proxy."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "getURLForTCP",
+ "description": "requests specific websocket URL that can be used as TCP proxy.",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "hostname",
+ "minLength": 1,
+ "description": "hostname to which TCP connection is requested."
+ },
+ {
+ "type": "integer",
+ "name": "port",
+ "minimum": 1,
+ "maximum": 65535,
+ "description": "TCP port number."
+ },
+ {
+ "type": "object",
+ "name": "details",
+ "description": "Dictionary which contains requested parameters of connection",
+ "properties": {
+ "tls": {"type": "boolean", "optional": "true", "description": "whether TLS over TCP is requested"}
+ }
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "url",
+ "description": "URL for opening as WebSocket."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "events": []
+ }
+]
« no previous file with comments | « third_party/chrome/idl/web_request_internal.json ('k') | third_party/chrome/idl/webstore.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698