| Index: chromeos/dbus/power_manager_client.h
|
| diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h
|
| index caf86b64638c130372ab697e8e3ffe74b4f0e85d..f7c026b383ab594ca6a1bac5ea902ad86595aaa2 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
|
| @@ -162,6 +166,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
|
|
|