Descriptionchromeos: Request screen lock directly from session manager.
Screen lock and unlock requests were previously sent to
powerd, which just forwarded them on to the session manager
without doing anything extra. It's simpler for Chrome to
just ask the session manager to lock or unlock directly.
I'm also moving the LockScreen and UnlockScreen
notifications from PowerManagerClient::Observer to
SessionManagerClient::Observer. Confusingly, the signals
that prompt those notifications are sent by the session
manager but were being listened for in PowerManagerClient.
BUG=chromium-os:24003
TEST=manual: able to lock the screen from the UI, power button, and by closing the lid; unlocking works too
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145737
Patch Set 1 #Patch Set 2 : diff against 10703081 #Patch Set 3 : update #
Total comments: 6
Patch Set 4 : merge #Patch Set 5 : update MockSessionManagerClient #Patch Set 6 : really fix MockSessionManagerClient #Patch Set 7 : remove locking-related metrics code #Messages
Total messages: 8 (0 generated)
|