Files app: Refactor AppWindowWrapper to use async and await
Change AppWindowWrapper.launch() to be an async function and to use await when waiting for asynchronous APIs. This allows to change the task queue from running the calls to async APIs to only be used as a lock to synchronize these async calls between AppWindowWrapper.launch() and SingletonAppWindowWrapper.launch(). Bug: 1067478 Change-Id: I04ab4caec274c48e9661d577970b8a09c173d866 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143187 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Alex Danilo <adanilo@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#759510}
Showing
Please register or sign in to comment