#100346 pass sync resoure while accepting content

This commit is contained in:
Sandeep Somavarapu
2020-07-12 14:34:58 +02:00
parent 60acc28de7
commit 02fa61fece
5 changed files with 10 additions and 13 deletions

View File

@@ -104,8 +104,8 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
return this.channel.call('isFirstTimeSyncingWithAnotherMachine');
}
acceptPreviewContent(resource: URI, content: string): Promise<void> {
return this.channel.call('acceptPreviewContent', [resource, content]);
acceptPreviewContent(syncResource: SyncResource, resource: URI, content: string): Promise<void> {
return this.channel.call('acceptPreviewContent', [syncResource, resource, content]);
}
resolveContent(resource: URI): Promise<string | null> {