Index: chromeos/dbus/power_manager_client.h |
diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h |
index 265001fb4e1a3a5392cac3cba6d56c1c169292b3..3accbadb713a6139ddd27b93f9f6682c527e0a3e 100644 |
--- a/chromeos/dbus/power_manager_client.h |
+++ b/chromeos/dbus/power_manager_client.h |
@@ -19,6 +19,10 @@ namespace dbus { |
class Bus; |
} |
+namespace power_manager { |
+class PowerManagementPolicy; |
+} |
+ |
namespace chromeos { |
// Callback used for processing the idle time. The int64 param is the number of |
@@ -165,6 +169,10 @@ class CHROMEOS_EXPORT PowerManagerClient { |
const base::TimeTicks& last_activity_time, |
bool is_fullscreen) = 0; |
+ // Tells the power manager to begin using |policy|. |
+ virtual void SetPolicy( |
+ const power_manager::PowerManagementPolicy& policy) = 0; |
+ |
// Override the current power state on the machine. The overrides will be |
// applied to the request ID specified. To specify a new request; use 0 as the |
// request id and the method will call the provided callback with the new |