| Index: mojo/devtools/common/devtoolslib/shell.py
|
| diff --git a/mojo/devtools/common/devtoolslib/shell.py b/mojo/devtools/common/devtoolslib/shell.py
|
| index 7e1d395cf6f7ffaba83ad4a928c14ef05f5438e8..bc478565e41d9798a31f6156a0e737fc3e066518 100644
|
| --- a/mojo/devtools/common/devtoolslib/shell.py
|
| +++ b/mojo/devtools/common/devtoolslib/shell.py
|
| @@ -6,7 +6,7 @@
|
| class Shell(object):
|
| """Represents an abstract Mojo shell."""
|
|
|
| - def serve_local_directories(self, mappings, port=0, free_host_port=False):
|
| + def serve_local_directories(self, mappings, port=0, reuse_servers=False):
|
| """Serves the content of the local (host) directories, making it available
|
| to the shell under the url returned by the function.
|
|
|
| @@ -22,9 +22,9 @@ class Shell(object):
|
| port: port at which the server will be available to the shell. On Android
|
| this can be different from the port on which the server runs on the
|
| host.
|
| - free_host_port: spawn the server a system allocated port. This is ignored
|
| - on Linux, where |port| indicates the port on which the server will be
|
| - spawned.
|
| + reuse_servers: don't actually spawn the server. Instead assume that the
|
| + server is already running on |port|, and only set up forwarding if
|
| + needed.
|
|
|
| Returns:
|
| The url that the shell can use to access the server.
|
|
|