src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts/ExtensionManagementService/reinstallFromGallery
class ExtensionManagementService:	async reinstallFromGallery(extension: ILocalExtension): Promise<void> {
		const server = this.getServer(extension);
		if (server) {
			await this.checkForWorkspaceTrust(extension.manifest);
			return server.extensionManagementService.reinstallFromGallery(extension);
		}
		return Promise.reject(`Invalid location ${extension.location.toString()}`);
	}