Skip to content
Commit 3fa4a919 authored by Hidehiko Abe's avatar Hidehiko Abe Committed by Chromium LUCI CQ
Browse files

Move UserManager observation to ChromeSessionManager

UserSessionManager is singleton, so it is not easy to handle
its lifetime in unit tests. This CL moves UserManager's observation part
from UserSessionManager to ChromeSessionManager, so we have more control
of its lifetime, specifically in unittests.

BUG=278643115
TEST=Tryjob

Change-Id: Ib8201915d4f29f489b40ae083093668bb6bf0ee9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5409960


Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Hidehiko Abe <hidehiko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1281547}
parent aea24b6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment