Make worker ExtHostTunnelService and remove dependency in ExtHostExtensionService

This commit is contained in:
Alex Ross
2019-12-13 09:06:00 +01:00
parent 0181e95bb9
commit 44cf9c9144
8 changed files with 24 additions and 23 deletions

View File

@@ -31,10 +31,6 @@ export class MainThreadTunnelService implements MainThreadTunnelServiceShape {
return this.remoteExplorerService.close(remotePort);
}
$addDetected(tunnels: { remote: { port: number, host: string }, localAddress: string }[]): Promise<void> {
return Promise.resolve(this.remoteExplorerService.addDetected(tunnels));
}
async $registerCandidateFinder(): Promise<void> {
this.remoteExplorerService.registerCandidateFinder(() => this._proxy.$findCandidatePorts());
}