Path: blob/main/src/vs/workbench/services/extensionManagement/common/extensionGalleryService.ts
5266 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { IAllowedExtensionsService, IExtensionGalleryService } from '../../../../platform/extensionManagement/common/extensionManagement.js';6import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js';7import { IProductService } from '../../../../platform/product/common/productService.js';8import { IFileService } from '../../../../platform/files/common/files.js';9import { ILogService } from '../../../../platform/log/common/log.js';10import { IStorageService } from '../../../../platform/storage/common/storage.js';11import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';12import { IRequestService } from '../../../../platform/request/common/request.js';13import { IEnvironmentService } from '../../../../platform/environment/common/environment.js';14import { AbstractExtensionGalleryService } from '../../../../platform/extensionManagement/common/extensionGalleryService.js';15import { InstantiationType, registerSingleton } from '../../../../platform/instantiation/common/extensions.js';16import { IExtensionGalleryManifestService } from '../../../../platform/extensionManagement/common/extensionGalleryManifest.js';1718export class WorkbenchExtensionGalleryService extends AbstractExtensionGalleryService {19constructor(20@IStorageService storageService: IStorageService,21@IRequestService requestService: IRequestService,22@ILogService logService: ILogService,23@IEnvironmentService environmentService: IEnvironmentService,24@ITelemetryService telemetryService: ITelemetryService,25@IFileService fileService: IFileService,26@IProductService productService: IProductService,27@IConfigurationService configurationService: IConfigurationService,28@IAllowedExtensionsService allowedExtensionsService: IAllowedExtensionsService,29@IExtensionGalleryManifestService extensionGalleryManifestService: IExtensionGalleryManifestService,30) {31super(storageService, requestService, logService, environmentService, telemetryService, fileService, productService, configurationService, allowedExtensionsService, extensionGalleryManifestService);32}33}3435registerSingleton(IExtensionGalleryService, WorkbenchExtensionGalleryService, InstantiationType.Delayed);363738