Allow BorealisTask to report failure status
Previously tasks only indicated true/false fro success/fail. Following crrev.com/c/2467818 which reports errors to users of the context manager, we make a similar modification to tasks s.t. they report failures to the context manager. We similarly extend the unit tests slightly to ensure that errors are passed from tasks to the ResultCallback. Bug: b/162562622 Change-Id: I9ce094c00cad8fc13f72da9109effa6f0f91580b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2470276Reviewed-by:Daniel Ng <danielng@google.com> Commit-Queue: Nic Hollingum <hollingum@google.com> Cr-Commit-Position: refs/heads/master@{#818319}
Showing
Please register or sign in to comment