Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3887)

Unified Diff: chrome/browser/chromeos/dbus/power_manager_client.h

Issue 8537001: chromeos: Power manager client calls shutdown and restart (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/dbus/power_manager_client.h
diff --git a/chrome/browser/chromeos/dbus/power_manager_client.h b/chrome/browser/chromeos/dbus/power_manager_client.h
index 030bb1595816c5288f5d6734625bd5e1012d4528..6e6fec33e0d304651ec2ffeaf97b8a30aaeab6ef 100644
--- a/chrome/browser/chromeos/dbus/power_manager_client.h
+++ b/chrome/browser/chromeos/dbus/power_manager_client.h
@@ -66,6 +66,12 @@ class PowerManagerClient {
// UI initiated request for status update.
virtual void RequestStatusUpdate() = 0;
+ // Requests restart of the system.
+ virtual void RequestRestart() = 0;
+
+ // Requests shutdown of the system.
+ virtual void RequestShutdown() = 0;
+
// Creates the instance.
static PowerManagerClient* Create(dbus::Bus* bus);

Powered by Google App Engine
This is Rietveld 408576698