commit | b51b618f1fd91be6e98aa545796561da9f64a4a8 | [log] [tgz] |
---|---|---|
author | Xiyuan Xia <xiyuan@chromium.org> | Thu Jul 25 14:47:53 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 25 14:47:53 2024 |
tree | b6efb751c60eed5ac9d5da6fd5d321b07e881191 | |
parent | 5d0a4c41abb8f20121e6ff8bafbc1d390fa4d218 [diff] |
ash: Move `OnAshRestart` from PreProfileInit to PostProfileInit `login_unlock_throughput_recorder()->OnAshRestart()` lets go of the deferred task runner. Moving it from `PreProfileInit` stage to `PostProfileInit` stage where ChromeSessionManager sets up the primary user session. The intentions are: - Profile loading is heavy (could take seconds on slow devices) so keeping the deferred tasks until it loads - New ash `SessionObserver::OnFirstSessionReady` happens as one deferred task. It should happen after `OnFirstSessionStarted`. `OnFirstSessionStarted` is currently after user profile loading. Bug: b:341172705 Change-Id: I7395d84f11985a23c3587c0fc2247ad1f520347a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5737468 Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1332935}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.