| Index: chromeos/dbus/power_manager_client.cc
|
| diff --git a/chromeos/dbus/power_manager_client.cc b/chromeos/dbus/power_manager_client.cc
|
| index 45cce502946169789b0dec4c70c8b1c079c008ff..c094d9d2801da1a31658b47392158f1f21a82019 100644
|
| --- a/chromeos/dbus/power_manager_client.cc
|
| +++ b/chromeos/dbus/power_manager_client.cc
|
| @@ -148,9 +148,13 @@ class PowerManagerClientImpl : public PowerManagerClient {
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| + virtual void RequestSuspend() OVERRIDE {
|
| + SimpleMethodCallToPowerManager(power_manager::kRequestSuspendMethod);
|
| + }
|
| +
|
| virtual void RequestRestart() OVERRIDE {
|
| SimpleMethodCallToPowerManager(power_manager::kRequestRestartMethod);
|
| - };
|
| + }
|
|
|
| virtual void RequestShutdown() OVERRIDE {
|
| SimpleMethodCallToPowerManager(power_manager::kRequestShutdownMethod);
|
| @@ -805,6 +809,7 @@ class PowerManagerClientStubImpl : public PowerManagerClient {
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| + virtual void RequestSuspend() OVERRIDE {}
|
| virtual void RequestRestart() OVERRIDE {}
|
| virtual void RequestShutdown() OVERRIDE {}
|
|
|
|
|