Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6624)

Unified Diff: chromeos/dbus/power_policy_controller.h

Issue 16346004: Merge 203774 "chromeos: Add delay between screen off and lock." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/dbus/power_policy_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/power_policy_controller.h
===================================================================
--- chromeos/dbus/power_policy_controller.h (revision 204009)
+++ chromeos/dbus/power_policy_controller.h (working copy)
@@ -61,6 +61,12 @@
static std::string GetPolicyDebugString(
const power_manager::PowerManagementPolicy& policy);
+ // Delay in milliseconds between the screen being turned off and the
+ // screen being locked. Used if the |enable_screen_lock| pref is set but
+ // |*_screen_lock_delay_ms| are unset or set to higher values than what
+ // this constant would imply.
+ const static int kScreenLockAfterOffDelayMs;
+
PowerPolicyController(DBusThreadManager* manager, PowerManagerClient* client);
virtual ~PowerPolicyController();
« no previous file with comments | « no previous file | chromeos/dbus/power_policy_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698