mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-11 02:08:52 -06:00
26 lines
1.4 KiB
TypeScript
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);
|