Index: chromeos/dbus/fake_power_manager_client.h |
diff --git a/chromeos/dbus/fake_power_manager_client.h b/chromeos/dbus/fake_power_manager_client.h |
index dd0cd2642136c44b22f4ba23bf4bd740dd297b82..c40dc183b741110db4d64954e3274e5600a97b5d 100644 |
--- a/chromeos/dbus/fake_power_manager_client.h |
+++ b/chromeos/dbus/fake_power_manager_client.h |
@@ -63,14 +63,10 @@ class FakePowerManagerClient : public PowerManagerClient { |
virtual base::Closure GetSuspendReadinessCallback() OVERRIDE; |
virtual int GetNumPendingSuspendReadinessCallbacks() OVERRIDE; |
- // Emulates that the dbus server sends a message "SuspendImminent" to the |
- // client. |
+ // Emulates the power manager announcing that the system is starting or |
+ // completing a suspend attempt. |
void SendSuspendImminent(); |
- |
- // Emulates that the dbus server sends a message "SuspendStateChanged" to the |
- // client. |
- void SendSuspendStateChanged( |
- const power_manager::SuspendState& suspend_state); |
+ void SendSuspendDone(); |
private: |
ObserverList<Observer> observers_; |
@@ -78,9 +74,6 @@ class FakePowerManagerClient : public PowerManagerClient { |
// Last policy passed to SetPolicy(). |
power_manager::PowerManagementPolicy policy_; |
- // Last time passed to a SUSPEND_TO_MEMORY call to SendSuspendStateChanged(). |
- base::Time last_suspend_wall_time_; |
- |
// Number of times that RequestRestart() has been called. |
int num_request_restart_calls_; |