diff options
Diffstat (limited to 'chromeos/dbus/power_manager_client.h')
-rw-r--r-- | chromeos/dbus/power_manager_client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h index c52c28e..d172c93 100644 --- a/chromeos/dbus/power_manager_client.h +++ b/chromeos/dbus/power_manager_client.h @@ -9,6 +9,7 @@ #include "base/basictypes.h" #include "base/callback.h" +#include "base/time.h" #include "chromeos/chromeos_export.h" #include "chromeos/dbus/dbus_client_implementation_type.h" @@ -171,6 +172,10 @@ class CHROMEOS_EXPORT PowerManagerClient { // NOTE: Like the previous request, this will also get triggered exactly once. virtual void RequestActiveNotification() = 0; + // Notifies the power manager that a video is currently playing. + virtual void NotifyVideoActivity( + const base::TimeTicks& last_activity_time) = 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 |