Chromium Code Reviews
Descriptioncros: Change max users to be a constant
Changing max users to be a constant instead of a dynamic config to
prepare switching from SessionStateDelegate to SessionController.
The current ash code uses the number in SystemTray::CreateItems
during initialization and does not handle dynamic change. In
SessionController case, this happens before initial SessionInfo is
sent to ash. Ash will then use the default value in SessionController
and whatever sent via SessionInfo later is ignored. This CL removes
max_users from mojom::SessionInfo and make it constant.
BUG=648964
Review-Url: https://codereview.chromium.org/2637403007
Cr-Commit-Position: refs/heads/master@{#445530}
Committed: https://chromium.googlesource.com/chromium/src/+/25ecee8b92b585ea5d0cd5d12618c32588b92299
Patch Set 1 #Patch Set 2 : fix compile #Patch Set 3 : fix test #Messages
Total messages: 35 (26 generated)
|