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