borealis: fix for metrics when borealis shuts down Currently startup metrics are recorded every time the VM is shutdown using the functionality in the context manager. This is incorrect, we should only be recording startup metrics when a startup attempt has completed. The change makes it so that shutdowns that cancel a startup attempt (noted by startup tasks existing) emit a metric, but other shutdowns do not. Bug: none Change-Id: Iecb5c91e143f3a0550f9bc4bec7283f7c1bebfbd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577079 Reviewed-by: Nic Hollingum <hollingum@google.com> Commit-Queue: Daniel Ng <danielng@google.com> Cr-Commit-Position: refs/heads/master@{#834965}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.