vscode/src/vs/platform/userDataProfile/electron-browser/userDataProfileStorageService.ts
2025-06-09 07:08:43 +00:00

26 lines
1.4 KiB
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IUserDataProfileStorageService, RemoteUserDataProfileStorageService } from '../common/userDataProfileStorageService.js';
import { InstantiationType, registerSingleton } from '../../instantiation/common/extensions.js';
import { IStorageService } from '../../storage/common/storage.js';
import { ILogService } from '../../log/common/log.js';
import { IUserDataProfilesService } from '../common/userDataProfile.js';
import { IMainProcessService } from '../../ipc/common/mainProcessService.js';
export class NativeUserDataProfileStorageService extends RemoteUserDataProfileStorageService {
constructor(
@IMainProcessService mainProcessService: IMainProcessService,
@IUserDataProfilesService userDataProfilesService: IUserDataProfilesService,
@IStorageService storageService: IStorageService,
@ILogService logService: ILogService,
) {
super(false, mainProcessService, userDataProfilesService, storageService, logService);
}
}
registerSingleton(IUserDataProfileStorageService, NativeUserDataProfileStorageService, InstantiationType.Delayed);