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

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

Issue 558613002: [DevTools] Explicitly add Tethering domain to browser protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: content/browser/devtools/browser_protocol.json
diff --git a/content/browser/devtools/browser_protocol.json b/content/browser/devtools/browser_protocol.json
index dfb462febf233424f80b4f965625966798a94858..f4b67407d2e899426dce89bf1209d389a8d22889 100644
--- a/content/browser/devtools/browser_protocol.json
+++ b/content/browser/devtools/browser_protocol.json
@@ -47,5 +47,39 @@
"handlers": ["browser"]
}
]
+ },
+ {
+ "domain": "Tethering",
+ "description": "The Tethering domain defines methods and events for browser port binding.",
+ "hidden": true,
+ "commands": [
+ {
+ "name": "bind",
+ "description": "Request browser port binding.",
+ "parameters": [
+ { "name": "port", "type": "number", "description": "Port number to bind." }
+ ],
+ "handlers": ["browser"]
+ },
+ {
+ "name": "unbind",
+ "description": "Request browser port unbinding.",
+ "parameters": [
+ { "name": "port", "type": "number", "description": "Port number to unbind." }
+ ],
+ "handlers": ["browser"]
+ }
+ ],
+ "events": [
+ {
+ "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": "connectionId", "type": "string", "description": "Connection id to be used." }
+ ],
+ "handlers": ["browser"]
+ }
+ ]
}]
}
« no previous file with comments | « chrome/browser/devtools/devtools_protocol_constants.gyp ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698