This commit is contained in:
Sandeep Somavarapu
2020-02-09 23:29:48 +01:00
parent 51a956b87f
commit 46750df406
12 changed files with 152 additions and 130 deletions

View File

@@ -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');
}

View File

@@ -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]);
}