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

Side by Side Diff: content/browser/devtools/browser_protocol.json

Issue 558613002: [DevTools] Explicitly add Tethering domain to browser protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "0" }, 2 "version": { "major": "1", "minor": "0" },
3 "domains": [{ 3 "domains": [{
4 "domain": "SystemInfo", 4 "domain": "SystemInfo",
5 "description": "The SystemInfo domain defines methods and events for que rying low-level system information.", 5 "description": "The SystemInfo domain defines methods and events for que rying low-level system information.",
6 "hidden": true, 6 "hidden": true,
7 "types": [ 7 "types": [
8 { 8 {
9 "id": "GPUDevice", 9 "id": "GPUDevice",
10 "type": "object", 10 "type": "object",
(...skipping 29 matching lines...) Expand all
40 "commands": [ 40 "commands": [
41 { 41 {
42 "name": "getInfo", 42 "name": "getInfo",
43 "description": "Returns information about the system.", 43 "description": "Returns information about the system.",
44 "returns": [ 44 "returns": [
45 { "name": "info", "$ref": "SystemInfo", "description": "Info rmation about the system." } 45 { "name": "info", "$ref": "SystemInfo", "description": "Info rmation about the system." }
46 ], 46 ],
47 "handlers": ["browser"] 47 "handlers": ["browser"]
48 } 48 }
49 ] 49 ]
50 },
51 {
52 "domain": "Tethering",
53 "description": "The Tethering domain defines methods and events for brow ser port binding.",
54 "hidden": true,
55 "commands": [
56 {
57 "name": "bind",
58 "description": "Request browser port binding.",
59 "parameters": [
60 { "name": "port", "type": "number", "description": "Port num ber to bind." }
61 ],
62 "handlers": ["browser"]
63 },
64 {
65 "name": "unbind",
66 "description": "Request browser port unbinding.",
67 "parameters": [
68 { "name": "port", "type": "number", "description": "Port num ber to unbind." }
69 ],
70 "handlers": ["browser"]
71 }
72 ],
73 "events": [
74 {
75 "name": "accepted",
76 "description": "Informs that port was successfully bound and got a specified connection id.",
77 "parameters": [
78 {"name": "port", "type": "number", "description": "Port numb er that was successfully bound." },
79 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
80 ],
81 "handlers": ["browser"]
82 }
83 ]
50 }] 84 }]
51 } 85 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_protocol_constants.gyp ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698