update proposed API with my items and remove deprecations

This commit is contained in:
Benjamin Pasero
2019-12-06 16:00:17 +01:00
parent e7aa84d8ab
commit 88cba08d9d
5 changed files with 1 additions and 40 deletions

View File

@@ -72,16 +72,6 @@ export class MainThreadUrls implements MainThreadUrlsShape {
return this.urlService.create(uri);
}
async $proposedCreateAppUri(extensionId: ExtensionIdentifier, options?: { payload?: Partial<UriComponents> }): Promise<URI> {
const payload: Partial<UriComponents> = options && options.payload ? options.payload : Object.create(null);
// we define the authority to be the extension ID to ensure
// that the Uri gets routed back to the extension properly.
payload.authority = extensionId.value;
return this.urlService.create(payload);
}
dispose(): void {
this.handlers.forEach(({ disposable }) => disposable.dispose());
this.handlers.clear();