This cl adds part of the functionality for running startup
tasks asynchronously.
It also updates the existing metrics to reflect async
startup times.
See follow-up cls for changes to task posting and additional
metrics.
Bug: 397372092
Change-Id: I7ba9429c96a55b9e845e88c0325338bfe99620da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6322429
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Commit-Queue: Chidera Olibie <colibie@google.com>
Auto-Submit: Chidera Olibie <colibie@google.com>
Reviewed-by: Ashley Newson <ashleynewson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1436788}