@@ -12,7 +12,6 @@ import { isNative } from 'vs/base/common/platform';
1212import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation' ;
1313import { ILabelService } from 'vs/platform/label/common/label' ;
1414import { IFileMatch , IPatternInfo , ISearchProgressItem , ISearchService } from 'vs/workbench/services/search/common/search' ;
15- import { IWindowService } from 'vs/platform/windows/common/windows' ;
1615import { IWorkspaceContextService , WorkbenchState , IWorkspace } from 'vs/platform/workspace/common/workspace' ;
1716import { extHostNamedCustomer } from 'vs/workbench/api/common/extHostCustomers' ;
1817import { ITextQueryBuilderOptions , QueryBuilder } from 'vs/workbench/contrib/search/common/queryBuilder' ;
@@ -24,6 +23,7 @@ import { isEqualOrParent } from 'vs/base/common/resources';
2423import { INotificationService } from 'vs/platform/notification/common/notification' ;
2524import { withNullAsUndefined } from 'vs/base/common/types' ;
2625import { IFileService } from 'vs/platform/files/common/files' ;
26+ import { IRequestService } from 'vs/platform/request/common/request' ;
2727
2828@extHostNamedCustomer ( MainContext . MainThreadWorkspace )
2929export class MainThreadWorkspace implements MainThreadWorkspaceShape {
@@ -40,7 +40,7 @@ export class MainThreadWorkspace implements MainThreadWorkspaceShape {
4040 @ITextFileService private readonly _textFileService : ITextFileService ,
4141 @IWorkspaceEditingService private readonly _workspaceEditingService : IWorkspaceEditingService ,
4242 @INotificationService private readonly _notificationService : INotificationService ,
43- @IWindowService private readonly _windowService : IWindowService ,
43+ @IRequestService private readonly _requestService : IRequestService ,
4444 @IInstantiationService private readonly _instantiationService : IInstantiationService ,
4545 @ILabelService private readonly _labelService : ILabelService ,
4646 @IEnvironmentService private readonly _environmentService : IEnvironmentService ,
@@ -218,6 +218,6 @@ export class MainThreadWorkspace implements MainThreadWorkspaceShape {
218218 }
219219
220220 $resolveProxy ( url : string ) : Promise < string | undefined > {
221- return this . _windowService . resolveProxy ( url ) ;
221+ return this . _requestService . resolveProxy ( url ) ;
222222 }
223223}
0 commit comments