commit | 8c9ac6799994cddc428809193d1d5ace554e97bb | [log] [tgz] |
---|---|---|
author | Nancy Wang <[email protected]> | Wed Feb 24 18:24:48 2021 |
committer | Chromium LUCI CQ <[email protected]> | Wed Feb 24 18:24:48 2021 |
tree | 9f77e71e6c8aeeb9b9262b14d30952fab1256a71 | |
parent | 9a265b6bc2af34eee9b9c012ddb54983032ca390 [diff] |
Add the active user checking when additional users added. For chrome restart (recovering from a crash or applying flags), additional users are added during the system startup phase, but are not made active. As such, we should not run the switch user process. Otherwise, the icons for the non-active users are added and shown on Shelf for the active user. Add a checking to verify whether it is the current active user when set launcher_controller_helper_, to prevent loading the secondary profile icons when the system recovers from crash. BUG=1174775 Change-Id: I759c4631be61426206a507fbbea8bfeece7079e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2710125 Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Xiyuan Xia <[email protected]> Commit-Queue: Nancy Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#857261}
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.