mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Fix #89628
This commit is contained in:
@@ -16,6 +16,7 @@ export class SettingsSyncService extends Disposable implements ISettingsSyncServ
|
||||
|
||||
private readonly channel: IChannel;
|
||||
|
||||
readonly resourceKey = 'settings';
|
||||
readonly source = SyncSource.Settings;
|
||||
|
||||
private _status: SyncStatus = SyncStatus.Uninitialized;
|
||||
@@ -71,10 +72,6 @@ export class SettingsSyncService extends Disposable implements ISettingsSyncServ
|
||||
return this.channel.call('hasPreviouslySynced');
|
||||
}
|
||||
|
||||
hasRemoteData(): Promise<boolean> {
|
||||
return this.channel.call('hasRemoteData');
|
||||
}
|
||||
|
||||
hasLocalData(): Promise<boolean> {
|
||||
return this.channel.call('hasLocalData');
|
||||
}
|
||||
|
||||
@@ -75,10 +75,6 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
|
||||
return this.channel.call('stop');
|
||||
}
|
||||
|
||||
isTurnedOffEverywhere(): Promise<boolean> {
|
||||
return this.channel.call('isTurnedOffEverywhere');
|
||||
}
|
||||
|
||||
getRemoteContent(source: SyncSource, preview: boolean): Promise<string | null> {
|
||||
return this.channel.call('getRemoteContent', [source, preview]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user