commit | 7dc64de67b62fa27d57020cc715ff05aa372fcfe | [log] [tgz] |
---|---|---|
author | Danan S <danan@chromium.org> | Tue Feb 05 23:21:11 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 05 23:21:11 2019 |
tree | 3527bfda6feb9950685478b09c97ac8e80a815a0 | |
parent | 743138fc739d814ad79e440bb73bfda3cd47d857 [diff] |
Remove all legacy supervised users on startup. The flag is: RemoveSupervisedUsersOnStartup. It is disabled by default. The tests in this CL verify that when the feature is disabled, no users are removed, and when the feature is enabled, *only* the Supervised users are removed. This change also uncovered a bug in UserManagerBase where a const ref was used after being freed. That bug is fixed in this CL (after initially causing the first attempt at this CL to be reverted post-CQ after failing ASAN tests). Tested by building with is_asan = true Bug: 916685 Change-Id: I60bc62c971706f1c0200d142dcaaf32da88663d7 Reviewed-on: https://chromium-review.googlesource.com/c/1443716 Commit-Queue: Danan S <danan@chromium.org> Reviewed-by: Alexander Alekseev <alemate@chromium.org> Reviewed-by: Michael Giuffrida <michaelpg@chromium.org> Reviewed-by: Jacob Dufault <jdufault@chromium.org> Cr-Commit-Position: refs/heads/master@{#629351}
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 .