@@ -32,7 +32,6 @@ import { IExtHostInitDataService } from 'vs/workbench/api/common/extHostInitData
3232import { IExtensionStoragePaths } from 'vs/workbench/api/common/extHostStoragePaths' ;
3333import { IExtHostRpcService } from 'vs/workbench/api/common/extHostRpcService' ;
3434import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection' ;
35- import { IExtHostTunnelService } from 'vs/workbench/api/common/extHostTunnelService' ;
3635
3736interface ITestRunner {
3837 /** Old test runner API, as exported from `vscode/lib/testrunner` */
@@ -77,7 +76,6 @@ export abstract class AbstractExtHostExtensionService implements ExtHostExtensio
7776 protected readonly _extHostWorkspace : ExtHostWorkspace ;
7877 protected readonly _extHostConfiguration : ExtHostConfiguration ;
7978 protected readonly _logService : ILogService ;
80- protected readonly _extHostTunnelService : IExtHostTunnelService ;
8179
8280 protected readonly _mainThreadWorkspaceProxy : MainThreadWorkspaceShape ;
8381 protected readonly _mainThreadTelemetryProxy : MainThreadTelemetryShape ;
@@ -106,8 +104,7 @@ export abstract class AbstractExtHostExtensionService implements ExtHostExtensio
106104 @IExtHostConfiguration extHostConfiguration : IExtHostConfiguration ,
107105 @ILogService logService : ILogService ,
108106 @IExtHostInitDataService initData : IExtHostInitDataService ,
109- @IExtensionStoragePaths storagePath : IExtensionStoragePaths ,
110- @IExtHostTunnelService extHostTunnelService : IExtHostTunnelService
107+ @IExtensionStoragePaths storagePath : IExtensionStoragePaths
111108 ) {
112109 this . _hostUtils = hostUtils ;
113110 this . _extHostContext = extHostContext ;
@@ -116,7 +113,6 @@ export abstract class AbstractExtHostExtensionService implements ExtHostExtensio
116113 this . _extHostWorkspace = extHostWorkspace ;
117114 this . _extHostConfiguration = extHostConfiguration ;
118115 this . _logService = logService ;
119- this . _extHostTunnelService = extHostTunnelService ;
120116 this . _disposables = new DisposableStore ( ) ;
121117
122118 this . _mainThreadWorkspaceProxy = this . _extHostContext . getProxy ( MainContext . MainThreadWorkspace ) ;
@@ -656,13 +652,12 @@ export abstract class AbstractExtHostExtensionService implements ExtHostExtensio
656652 extensionHostEnv : result . extensionHostEnv
657653 } ;
658654
659- await this . _extHostTunnelService . addDetected ( result . detectedTunnels ) ;
660-
661655 return {
662656 type : 'ok' ,
663657 value : {
664658 authority,
665- options
659+ options,
660+ tunnelInformation : { detectedTunnels : result . detectedTunnels }
666661 }
667662 } ;
668663 } catch ( err ) {
0 commit comments