Profile is not ready when SessionObserver::OnActiveUserSessionChanged() is called for the primary user |
||||
Issue descriptionWhile working on this CL: https://codereview.chromium.org/2857103007/ I had to also watch OnSessionStateChanged() and init the settings from the user's pref when the session state is ACTIVE, because only then the profile is ready. It would be nice if OnActiveUserSessionChanged() is fired only after the primary user's profile is ready.
,
May 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4cfa57df48555a9f2f54d2f5cb78a3db29b3b187 commit 4cfa57df48555a9f2f54d2f5cb78a3db29b3b187 Author: xiyuan <xiyuan@chromium.org> Date: Mon May 08 18:04:56 2017 cros: Defer primary user meta update until active Defer the meta/order update to ash until session state becomes active for primary user. So that ash side code could be simplified to expect having a consistent state for both primary user session and secondary user sessions. BUG= 718458 Review-Url: https://codereview.chromium.org/2863993002 Cr-Commit-Position: refs/heads/master@{#470048} [modify] https://crrev.com/4cfa57df48555a9f2f54d2f5cb78a3db29b3b187/chrome/browser/ui/ash/session_controller_client.cc [modify] https://crrev.com/4cfa57df48555a9f2f54d2f5cb78a3db29b3b187/chrome/browser/ui/ash/session_controller_client_unittest.cc
,
May 8 2017
,
Aug 1 2017
,
Jan 22 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by xiy...@chromium.org
, May 4 2017