Descriptionchromeos: Move default power management policy into Chrome.
This updates PowerPolicyController to always send the power
management policy contained in Chrome's preferences to the
power manager, rather than only sending prefs that have been
changed from their defaults. Note that this currently only
takes effect once the user has logged in.
It also makes the screen get locked at the same time as when
it's turned off when the "Require password to wake from
sleep" setting is enabled.
BUG=225730, 225969
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195376
Patch Set 1 #Patch Set 2 : add tests #Patch Set 3 : change char pointers in PrefNames to std::strings #
Total comments: 12
Patch Set 4 : move pref-watching back out of PowerPolicyController #
Total comments: 4
Patch Set 5 : apply review feedback #Patch Set 6 : move constructor to .cc file #Patch Set 7 : update policy tests #
Total comments: 1
Patch Set 8 : include reason in debug string #
Total comments: 2
Patch Set 9 : apply review feedback #
Messages
Total messages: 23 (0 generated)
|