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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2437633003: [DevTools] Switch remote locations to Target domain. (Closed)
Patch Set: removed dispose Created 4 years, 2 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
« no previous file with comments | « content/browser/devtools/protocol/target_handler.cc ('k') | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/browser_protocol.json
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
index 38f9c78e9e8a9447f61c977906da723016376aa5..0e8e4d9ee34430b6f0f4c75fc9e66956f691d284 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -3324,19 +3324,22 @@
"type": "string"
},
{
- "id": "TargetType",
- "type": "string",
- "enum": ["page", "iframe", "worker", "service_worker"]
- },
- {
"id": "TargetInfo",
"type": "object",
"properties": [
{ "name": "targetId", "$ref": "TargetID" },
- { "name": "type", "$ref": "TargetType" },
+ { "name": "type", "type": "string" },
{ "name": "title", "type": "string" },
{ "name": "url", "type": "string" }
]
+ },
+ {
+ "id": "RemoteLocation",
+ "type": "object",
+ "properties": [
+ { "name": "host", "type": "string" },
+ { "name": "port", "type": "integer" }
+ ]
}
],
"commands": [
@@ -3365,6 +3368,15 @@
"handlers": ["browser"]
},
{
+ "name": "setRemoteLocations",
+ "parameters": [
+
+ { "name": "locations", "type": "array", "items": { "$ref": "RemoteLocation" }, "description": "List of remote locations." }
+ ],
+ "description": "Enables target discovery for the specified locations, when <code>setDiscoverTargets</code> was set to <code>true</code>.",
+ "handlers": ["browser"]
+ },
+ {
"name": "sendMessageToTarget",
"parameters": [
{ "name": "targetId", "type": "string" },
@@ -4470,14 +4482,6 @@
{ "name": "title", "type": "string" },
{ "name": "url", "type": "string" }
]
- },
- {
- "id": "RemoteLocation",
- "type": "object",
- "properties": [
- { "name": "host", "type": "string" },
- { "name": "port", "type": "integer" }
- ]
}
],
"commands": [
@@ -4535,15 +4539,6 @@
"async": true
},
{
- "name": "setRemoteLocations",
- "parameters": [
-
- { "name": "locations", "type": "array", "items": { "$ref": "RemoteLocation" }, "description": "List of remote locations" }
- ],
- "description": "Enables target discovery for the specified locations.",
- "handlers": ["browser"]
- },
- {
"name": "attach",
"description": "Attaches to the target with given id.",
"parameters": [
« no previous file with comments | « content/browser/devtools/protocol/target_handler.cc ('k') | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698