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

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

Issue 1307073002: DevTools: provide an option to return traces as streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 { 70 {
71 "name": "accepted", 71 "name": "accepted",
72 "description": "Informs that port was successfully bound and got a specified connection id.", 72 "description": "Informs that port was successfully bound and got a specified connection id.",
73 "parameters": [ 73 "parameters": [
74 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 74 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
75 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 75 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
76 ], 76 ],
77 "handlers": ["browser"] 77 "handlers": ["browser"]
78 } 78 }
79 ] 79 ]
80 },
81 {
82 "domain": "IO",
dgozman 2015/08/24 20:45:44 This domain does conceptually belong to renderer p
83 "description": "Input/Output operations for streams produced by DevTools .",
84 "hidden": true,
85 "commands": [
86 {
87 "name": "read",
88 "description": "Read a chunk of a stream",
89 "async": true,
90 "parameters": [
91 { "name": "id", "type": "string", "description": "Identifier of a stream to read." },
pfeldman 2015/08/24 18:17:55 Lets introduce a handle type.
92 { "name": "offset", "type": "integer", "optional": true, "de scription": "Seek to specified offset before reading (if not specificed, proceed with offset following the last read)." },
93 { "name": "size", "type": "integer", "optional": true, "des cription": "Maximum number of bytes to read (left upon the agent discretion if n ot specified)." }
94 ],
95 "returns": [
96 { "name": "data", "type": "string", "description": "Data tha t were read." },
97 { "name": "eof", "type": "boolean", "description": "Set if t he end-of-file condition occured while reading." }
98 ],
99 "handlers": ["browser"]
100 },
101 {
102 "name": "close",
103 "description": "Closes a stream, discard any temporary backing s torage.",
104 "parameters": [
105 { "name": "id", "type": "string", "description": "Identifier of a stream to close." }
106 ],
107 "handlers": ["browser"]
108 }
109 ]
80 }] 110 }]
81 } 111 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698