mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Add IntegrityService
This commit is contained in:
@@ -141,7 +141,8 @@ function main() {
|
||||
recordStats: !!configuration.performance,
|
||||
ignoreDuplicateModules: [
|
||||
'vs/workbench/parts/search/common/searchQuery'
|
||||
]
|
||||
],
|
||||
checksum: true
|
||||
});
|
||||
|
||||
if (nlsConfig.pseudo) {
|
||||
|
||||
@@ -46,6 +46,8 @@ import {ICompatWorkerService} from 'vs/editor/common/services/compatWorkerServic
|
||||
import {MainThreadCompatWorkerService} from 'vs/editor/common/services/compatWorkerServiceMain';
|
||||
import {CodeEditorServiceImpl} from 'vs/editor/browser/services/codeEditorServiceImpl';
|
||||
import {ICodeEditorService} from 'vs/editor/common/services/codeEditorService';
|
||||
import {IntegrityServiceImpl} from 'vs/platform/integrity/node/integrityServiceImpl';
|
||||
import {IIntegrityService} from 'vs/platform/integrity/common/integrity';
|
||||
import {EditorWorkerServiceImpl} from 'vs/editor/common/services/editorWorkerServiceImpl';
|
||||
import {IEditorWorkerService} from 'vs/editor/common/services/editorWorkerService';
|
||||
import {MainProcessExtensionService} from 'vs/workbench/api/node/mainThreadExtensionService';
|
||||
@@ -327,6 +329,9 @@ export class WorkbenchShell {
|
||||
const codeEditorService = instantiationService.createInstance(CodeEditorServiceImpl);
|
||||
serviceCollection.set(ICodeEditorService, codeEditorService);
|
||||
|
||||
const integrityService = instantiationService.createInstance(IntegrityServiceImpl);
|
||||
serviceCollection.set(IIntegrityService, integrityService);
|
||||
|
||||
const extensionManagementChannel = getDelayedChannel<IExtensionManagementChannel>(sharedProcess.then(c => c.getChannel('extensions')));
|
||||
const extensionManagementChannelClient = new ExtensionManagementChannelClient(extensionManagementChannel);
|
||||
serviceCollection.set(IExtensionManagementService, extensionManagementChannelClient);
|
||||
|
||||
Reference in New Issue
Block a user