src/vs/workbench/services/extensionManagement/common/profileAwareExtensionManagementService.ts/NativeProfileAwareExtensionManagementService/switchExtensionsProfile
class NativeProfileAwareExtensionManagementService:	async switchExtensionsProfile(extensionsProfileResource: URI | undefined): Promise<void> {
		if (this.uriIdentityService.extUri.isEqual(extensionsProfileResource, this.extensionsProfileResource)) {
			return;
		}
		const oldExtensions = await this.getInstalled(ExtensionType.User);
		this.extensionsProfileResource = extensionsProfileResource;
		const newExtensions = await this.getInstalled(ExtensionType.User);
		const { added, removed } = delta(oldExtensions, newExtensions, (a, b) => compare(`${ExtensionIdentifier.toKey(a.identifier.id)}@${a.manifest.version}`, `${ExtensionIdentifier.toKey(b.identifier.id)}@${b.manifest.version}`));
		if (added.length || removed.length) {
			this._onDidChangeProfileExtensions.fire({ added, removed });
		}
	}