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

Unified Diff: third_party/WebKit/Source/core/inspector/protocol/Worker.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/Worker.json
diff --git a/third_party/WebKit/Source/core/inspector/protocol/Worker.json b/third_party/WebKit/Source/core/inspector/protocol/Worker.json
new file mode 100644
index 0000000000000000000000000000000000000000..8c39c4668089ae91e9f5dffb48e539a9399c1cd8
--- /dev/null
+++ b/third_party/WebKit/Source/core/inspector/protocol/Worker.json
@@ -0,0 +1,80 @@
+{
+ "domain": "Worker",
+ "version": {
+ "major": "1",
+ "minor": "1"
+ },
+ "hidden": true,
+ "types": [],
+ "commands": [
+ {
+ "name": "enable"
+ },
+ {
+ "name": "disable"
+ },
+ {
+ "name": "sendMessageToWorker",
+ "parameters": [
+ {
+ "name": "workerId",
+ "type": "string"
+ },
+ {
+ "name": "message",
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "name": "setWaitForDebuggerOnStart",
+ "parameters": [
+ {
+ "name": "value",
+ "type": "boolean"
+ }
+ ]
+ }
+ ],
+ "events": [
+ {
+ "name": "workerCreated",
+ "parameters": [
+ {
+ "name": "workerId",
+ "type": "string"
+ },
+ {
+ "name": "url",
+ "type": "string"
+ },
+ {
+ "name": "waitingForDebugger",
+ "type": "boolean"
+ }
+ ]
+ },
+ {
+ "name": "workerTerminated",
+ "parameters": [
+ {
+ "name": "workerId",
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "name": "dispatchMessageFromWorker",
+ "parameters": [
+ {
+ "name": "workerId",
+ "type": "string"
+ },
+ {
+ "name": "message",
+ "type": "string"
+ }
+ ]
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698