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

Unified Diff: third_party/WebKit/Source/core/inspector/protocol/IO.json

Issue 2035653005: DevTools: split protocol.json into files per domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/core/inspector/protocol/IO.json
diff --git a/third_party/WebKit/Source/core/inspector/protocol/IO.json b/third_party/WebKit/Source/core/inspector/protocol/IO.json
new file mode 100644
index 0000000000000000000000000000000000000000..cfd4288d87e3679dd7b559e7da5c685baf53a9d2
--- /dev/null
+++ b/third_party/WebKit/Source/core/inspector/protocol/IO.json
@@ -0,0 +1,70 @@
+{
+ "domain": "IO",
+ "version": {
+ "major": "1",
+ "minor": "1"
+ },
+ "description": "Input/Output operations for streams produced by DevTools.",
+ "hidden": true,
+ "types": [
+ {
+ "id": "StreamHandle",
+ "type": "string"
+ }
+ ],
+ "commands": [
+ {
+ "name": "read",
+ "description": "Read a chunk of the stream",
+ "async": true,
+ "parameters": [
+ {
+ "name": "handle",
+ "$ref": "StreamHandle",
+ "description": "Handle of the stream to read."
+ },
+ {
+ "name": "offset",
+ "type": "integer",
+ "optional": true,
+ "description": "Seek to the specified offset before reading (if not specificed, proceed with offset following the last read)."
+ },
+ {
+ "name": "size",
+ "type": "integer",
+ "optional": true,
+ "description": "Maximum number of bytes to read (left upon the agent discretion if not specified)."
+ }
+ ],
+ "returns": [
+ {
+ "name": "data",
+ "type": "string",
+ "description": "Data that were read."
+ },
+ {
+ "name": "eof",
+ "type": "boolean",
+ "description": "Set if the end-of-file condition occured while reading."
+ }
+ ],
+ "handlers": [
+ "browser"
+ ]
+ },
+ {
+ "name": "close",
+ "description": "Close the stream, discard any temporary backing storage.",
+ "parameters": [
+ {
+ "name": "handle",
+ "$ref": "StreamHandle",
+ "description": "Handle of the stream to close."
+ }
+ ],
+ "handlers": [
+ "browser"
+ ]
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698