382
383
private getConfiguredSessionsWindowSupport(manifest: IExtensionManifest): boolean | undefined {
385
>
const configuredSessionsWindowSupportMap = new ExtensionIdentifierMap<boolean>();
386
>
const configuredSessionsWindowSupport = this.configurationService.getValue<{ [key: string]: boolean }>(EXTENSIONS_SUPPORT_AGENTS_WINDOW) || {};
387
>
for (const id of Object.keys(configuredSessionsWindowSupport)) {
388
if (configuredSessionsWindowSupport[id] !== undefined) {
389
configuredSessionsWindowSupportMap.set(id, configuredSessionsWindowSupport[id]);
390
}
391
}
393
>
}
394
>
395
>
const extensionId = getGalleryExtensionId(manifest.publisher, manifest.name);
396
>
return this._configuredSessionsWindowSupportMap.get(extensionId);
397
>
}
398
399
private getConfiguredExtensionWorkspaceTrustRequest(manifest: IExtensionManifest): ExtensionUntrustedWorkspaceSupportType | undefined {