diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-06-24 00:04:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 00:04:34 +0300 |
commit | 1e5e1a02e8c93958eacced83d5e765f222d9c02d (patch) | |
tree | fa0d2de7b71d85949f87dfcc908d708ae3b8f67d /src/vs/platform/extensionManagement/node/extensionManagementService.ts | |
parent | 619ab6d1ba7eef9ad418456a5fe5c7805f01a7ab (diff) |
support application scoped extensions (#152975)
* support application scoped extensions
* fix tests
Diffstat (limited to 'src/vs/platform/extensionManagement/node/extensionManagementService.ts')
-rw-r--r-- | src/vs/platform/extensionManagement/node/extensionManagementService.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts index a15de91f394..e220416bffd 100644 --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts @@ -43,6 +43,7 @@ import { ILogService } from 'vs/platform/log/common/log'; import { IProductService } from 'vs/platform/product/common/productService'; import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry'; import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity'; +import { IUserDataProfilesService } from 'vs/platform/userDataProfile/common/userDataProfile'; interface InstallableExtension { zipPath: string; @@ -68,8 +69,9 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi @IFileService private readonly fileService: IFileService, @IProductService productService: IProductService, @IUriIdentityService uriIdentityService: IUriIdentityService, + @IUserDataProfilesService userDataProfilesService: IUserDataProfilesService, ) { - super(galleryService, extensionsProfileScannerService, telemetryService, logService, productService); + super(userDataProfilesService, uriIdentityService, galleryService, extensionsProfileScannerService, telemetryService, logService, productService); const extensionLifecycle = this._register(instantiationService.createInstance(ExtensionsLifecycle)); this.extensionsScanner = this._register(instantiationService.createInstance(ExtensionsScanner, extension => extensionLifecycle.postUninstall(extension))); this.manifestCache = this._register(new ExtensionsManifestCache(environmentService, this)); |