DescriptionFix MediaClient::RequestCaptureState().
MediaClient::RequestCaptureState() was failing because chrome
does not have access to ash::SessionStateDelegate and ash::
ShellContentState.
1. Changed places that used ash::SessionStateDelegate to use
UserManager.
2. Changed places that used ash::ShellContentState to use
ChromeShellContentState. Right now the only places in ash that
use ash::ShellContentState are in tests so maybe we can move
ShellContentState to chrome completely in the future.
3. Changed MultiProfileMediaTrayItem and TrayUser in ash to
use SessionController to get the number of logged in users.
BUG=676091
TEST=ash_unittests
Review-Url: https://codereview.chromium.org/2615663002
Cr-Commit-Position: refs/heads/master@{#442679}
Committed: https://chromium.googlesource.com/chromium/src/+/42968739363fbecc9515b3631d2e05ac7046fb02
Patch Set 1 #Patch Set 2 : chrome #Patch Set 3 : user manager #Patch Set 4 : ash #
Total comments: 11
Patch Set 5 : comments #Patch Set 6 : rebase #
Messages
Total messages: 29 (21 generated)
|