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

Unified Diff: content/browser/devtools/browser_protocol.json

Issue 658163003: [DevTools] Added browser protocol to handler generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@singleUse
Patch Set: GN fix Created 6 years, 1 month 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/BUILD.gn ('k') | content/browser/devtools/devtools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/browser_protocol.json
diff --git a/content/browser/devtools/browser_protocol.json b/content/browser/devtools/browser_protocol.json
index f4b67407d2e899426dce89bf1209d389a8d22889..53ad99cd4465730f95cb870d7111fec7b8443348 100644
--- a/content/browser/devtools/browser_protocol.json
+++ b/content/browser/devtools/browser_protocol.json
@@ -55,17 +55,19 @@
"commands": [
{
"name": "bind",
+ "async": true,
"description": "Request browser port binding.",
"parameters": [
- { "name": "port", "type": "number", "description": "Port number to bind." }
+ { "name": "port", "type": "integer", "description": "Port number to bind." }
],
"handlers": ["browser"]
},
{
"name": "unbind",
+ "async": true,
"description": "Request browser port unbinding.",
"parameters": [
- { "name": "port", "type": "number", "description": "Port number to unbind." }
+ { "name": "port", "type": "integer", "description": "Port number to unbind." }
],
"handlers": ["browser"]
}
@@ -75,7 +77,7 @@
"name": "accepted",
"description": "Informs that port was successfully bound and got a specified connection id.",
"parameters": [
- {"name": "port", "type": "number", "description": "Port number that was successfully bound." },
+ {"name": "port", "type": "integer", "description": "Port number that was successfully bound." },
{"name": "connectionId", "type": "string", "description": "Connection id to be used." }
],
"handlers": ["browser"]
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/browser/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698