chromeos: Move EnableScreenLock to PowerManagerClient from PowerLibrary
Part of libcros removal. Directly writing to the prefs file, instead of going thru libcros. BUG=chromium-os:16558 TEST=Go to VT2 and make sure /var/lib/power_manager/lock_on_idle_suspend does not exist (delete if it does). Type 'stop powerd'. Sign in as a user. Press power button to lock screen. Go to VT2 and look at /var/lib/power_manager/lock_on_idle_suspend. The file should have been created. Signed-off-by:Simon Que <sque@chromium.org> R=satorux@chromium.org,stevenjb@chromium.org Review URL: http://codereview.chromium.org/8573025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111248 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment