diff options
author | Benjamin Pasero <benjpas@microsoft.com> | 2020-09-17 18:13:02 +0300 |
---|---|---|
committer | Benjamin Pasero <benjpas@microsoft.com> | 2020-09-17 18:13:10 +0300 |
commit | 55476af3b00ecfee88dc684738232c9cbda40785 (patch) | |
tree | 7ff49b33a6abdc83dce94993790bd04c46728530 /src/vs/workbench/contrib/extensions/electron-sandbox | |
parent | 1b13e16e4864c7f27388cee3e488c53f43e67ea6 (diff) |
sandbox - make native workbench environment service a real one
Diffstat (limited to 'src/vs/workbench/contrib/extensions/electron-sandbox')
-rw-r--r-- | src/vs/workbench/contrib/extensions/electron-sandbox/extensionsActions.ts | 3 | ||||
-rw-r--r-- | src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsActions.ts index a24fb6882b8..369d6a1bf0b 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsActions.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsActions.ts @@ -7,7 +7,6 @@ import { localize } from 'vs/nls'; import { Action } from 'vs/base/common/actions'; import { IFileService } from 'vs/platform/files/common/files'; import { URI } from 'vs/base/common/uri'; -import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService'; import { INativeWorkbenchEnvironmentService } from 'vs/workbench/services/environment/electron-sandbox/environmentService'; import { INativeHostService } from 'vs/platform/native/electron-sandbox/native'; import { Schemas } from 'vs/base/common/network'; @@ -22,7 +21,7 @@ export class OpenExtensionsFolderAction extends Action { label: string, @INativeHostService private readonly nativeHostService: INativeHostService, @IFileService private readonly fileService: IFileService, - @IWorkbenchEnvironmentService private readonly environmentService: INativeWorkbenchEnvironmentService + @INativeWorkbenchEnvironmentService private readonly environmentService: INativeWorkbenchEnvironmentService ) { super(id, label, undefined, true); } diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts index ab09ba5a258..55547a8c67a 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts @@ -19,7 +19,6 @@ import Severity from 'vs/base/common/severity'; import { IOpenerService } from 'vs/platform/opener/common/opener'; import { INativeHostService } from 'vs/platform/native/electron-sandbox/native'; import { INativeWorkbenchEnvironmentService } from 'vs/workbench/services/environment/electron-sandbox/environmentService'; -import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService'; abstract class RepoInfo { abstract get base(): string; @@ -123,7 +122,7 @@ class ReportExtensionSlowAction extends Action { @IOpenerService private readonly _openerService: IOpenerService, @IProductService private readonly _productService: IProductService, @INativeHostService private readonly _nativeHostService: INativeHostService, - @IWorkbenchEnvironmentService private readonly _environmentService: INativeWorkbenchEnvironmentService + @INativeWorkbenchEnvironmentService private readonly _environmentService: INativeWorkbenchEnvironmentService ) { super('report.slow', localize('cmd.report', "Report Issue")); } @@ -167,7 +166,7 @@ class ShowExtensionSlowAction extends Action { readonly profile: IExtensionHostProfile, @IDialogService private readonly _dialogService: IDialogService, @IOpenerService private readonly _openerService: IOpenerService, - @IWorkbenchEnvironmentService private readonly _environmentService: INativeWorkbenchEnvironmentService + @INativeWorkbenchEnvironmentService private readonly _environmentService: INativeWorkbenchEnvironmentService ) { super('show.slow', localize('cmd.show', "Show Issues")); } |