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

Unified Diff: mojo/devtools/common/devtoolslib/linux_shell.py

Issue 1159063004: Support running with mojo:debugger in devtools. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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: mojo/devtools/common/devtoolslib/linux_shell.py
diff --git a/mojo/devtools/common/devtoolslib/linux_shell.py b/mojo/devtools/common/devtoolslib/linux_shell.py
index 4b3d98a4cd2ef636807a1620f8db2db4fb869dd4..5c086d97b6181f8e6be023fa48fa596f543a1aea 100644
--- a/mojo/devtools/common/devtoolslib/linux_shell.py
+++ b/mojo/devtools/common/devtoolslib/linux_shell.py
@@ -37,6 +37,14 @@ class LinuxShell(Shell):
"""
return 'http://%s:%d/' % http_server.StartHttpServer(local_dir_path, port)
+ def ForwardHostPortToShell(self, host_port):
+ """Forwards a port on the host machine to the same port wherever the shell
+ is running.
+
+ This is a no-op if the shell is running locally.
+ """
+ pass
+
def Run(self, arguments):
"""Runs the shell with given arguments until shell exits, passing the stdout
mingled with stderr produced by the shell onto the stdout.

Powered by Google App Engine
This is Rietveld 408576698