Index: chromeos/dbus/power_manager_client.h |
diff --git a/chromeos/dbus/power_manager_client.h b/chromeos/dbus/power_manager_client.h |
index b62a543290da1148093f9b340dc2731c6a78758d..28073733398e031f1e5b9668bc61dcac322406d1 100644 |
--- a/chromeos/dbus/power_manager_client.h |
+++ b/chromeos/dbus/power_manager_client.h |
@@ -26,6 +26,7 @@ namespace chromeos { |
typedef base::Callback<void(int64)> CalculateIdleTimeCallback; |
typedef base::Callback<void(void)> IdleNotificationCallback; |
typedef base::Callback<void(uint32)> PowerStateRequestIdCallback; |
+typedef base::Callback<void(void)> SuspendImminentCallback; |
// Callback used for getting the current screen brightness. The param is in the |
// range [0.0, 100.0]. |
@@ -66,6 +67,9 @@ class CHROMEOS_EXPORT PowerManagerClient { |
// Called when a request is received to dim or undim the screen in software |
// (as opposed to the more-common method of adjusting the backlight). |
virtual void ScreenDimmingRequested(ScreenDimmingState state) {} |
+ |
+ // Called when the system suspends. |
+ virtual void DelaySuspend() {} |
}; |
enum UpdateRequestType { |