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

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

Issue 2344753002: DevTools: return discovered targets asynchronously. (Closed)
Patch Set: for bots 2 Created 4 years, 3 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/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 20068fb27b640018359b555452b6b0ed3f83f7bb..f8d24272d7e8a4c6570e4fbb3def8e146d05380a 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -4390,7 +4390,8 @@
{ "name": "targetInfo", "type": "array", "items": { "$ref": "TargetInfo" } }
],
"description": "Returns target information for all potential targets.",
- "handlers": ["browser"]
+ "handlers": ["browser"],
+ "async": true
},
{
"name": "attach",
@@ -4398,7 +4399,11 @@
"parameters": [
{"name": "targetId", "$ref": "TargetID", "description": "Target id." }
],
- "handlers": ["browser"]
+ "returns": [
+ { "name": "success", "type": "boolean", "description": "Whether attach succeeded." }
+ ],
+ "handlers": ["browser"],
+ "async": true
},
{
"name": "detach",

Powered by Google App Engine
This is Rietveld 408576698