Descriptionchromeos: Simplify ShutdownPolicyHandler
This is preparation for moving the actual shutdown code into ash.
ShutdownPolicyHandler observes the kRebootOnShutdown policy setting. It
notifies observers in OOBE and the ash system tray when the value changes.
It also has a callback-based interface to get the current value.
Simplify the implementation by eliminating the callback-based interface
and only using the delegate.
BUG=644348, 647412
TEST=chrome unit_tests, instrumenting the code to manually change the policy
setting and observing the tooltips on the shutdown button
Patch Set 1 #Patch Set 2 : unused typedef #
Total comments: 2
Patch Set 3 : rebase #Messages
Total messages: 9 (6 generated)
|