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

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

Issue 658163003: [DevTools] Added browser protocol to handler generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@singleUse
Patch Set: GN fix Created 6 years, 1 month 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
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/devtools.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 48 }
49 ] 49 ]
50 }, 50 },
51 { 51 {
52 "domain": "Tethering", 52 "domain": "Tethering",
53 "description": "The Tethering domain defines methods and events for brow ser port binding.", 53 "description": "The Tethering domain defines methods and events for brow ser port binding.",
54 "hidden": true, 54 "hidden": true,
55 "commands": [ 55 "commands": [
56 { 56 {
57 "name": "bind", 57 "name": "bind",
58 "async": true,
58 "description": "Request browser port binding.", 59 "description": "Request browser port binding.",
59 "parameters": [ 60 "parameters": [
60 { "name": "port", "type": "number", "description": "Port num ber to bind." } 61 { "name": "port", "type": "integer", "description": "Port nu mber to bind." }
61 ], 62 ],
62 "handlers": ["browser"] 63 "handlers": ["browser"]
63 }, 64 },
64 { 65 {
65 "name": "unbind", 66 "name": "unbind",
67 "async": true,
66 "description": "Request browser port unbinding.", 68 "description": "Request browser port unbinding.",
67 "parameters": [ 69 "parameters": [
68 { "name": "port", "type": "number", "description": "Port num ber to unbind." } 70 { "name": "port", "type": "integer", "description": "Port nu mber to unbind." }
69 ], 71 ],
70 "handlers": ["browser"] 72 "handlers": ["browser"]
71 } 73 }
72 ], 74 ],
73 "events": [ 75 "events": [
74 { 76 {
75 "name": "accepted", 77 "name": "accepted",
76 "description": "Informs that port was successfully bound and got a specified connection id.", 78 "description": "Informs that port was successfully bound and got a specified connection id.",
77 "parameters": [ 79 "parameters": [
78 {"name": "port", "type": "number", "description": "Port numb er that was successfully bound." }, 80 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
79 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 81 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
80 ], 82 ],
81 "handlers": ["browser"] 83 "handlers": ["browser"]
82 } 84 }
83 ] 85 ]
84 }] 86 }]
85 } 87 }
OLDNEW
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698