#93960 - Send machine id with data and show the machine in data view

This commit is contained in:
Sandeep Somavarapu
2020-05-20 16:41:39 +02:00
parent 46c67605c2
commit dd9685c4a6
11 changed files with 180 additions and 54 deletions

View File

@@ -116,6 +116,10 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
return result.map(({ resource, comparableResource }) => ({ resource: URI.revive(resource), comparableResource: URI.revive(comparableResource) }));
}
async getMachineId(resource: SyncResource, syncResourceHandle: ISyncResourceHandle): Promise<string | undefined> {
return this.channel.call<string | undefined>('getMachineId', [resource, syncResourceHandle]);
}
private async updateStatus(status: SyncStatus): Promise<void> {
this._status = status;
this._onDidChangeStatus.fire(status);