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

Unified Diff: ash/public/interfaces/system_tray.mojom

Issue 2505783002: chromeos: Migrate SignOut and RequestRestartForUpdate to mojo interface (Closed)
Patch Set: Created 4 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: ash/public/interfaces/system_tray.mojom
diff --git a/ash/public/interfaces/system_tray.mojom b/ash/public/interfaces/system_tray.mojom
index afb8b68adbf0941b46a29c9c1f5d746b494cddd8..fac42de7cd111d6db699415fe1ea8e70e82c6177 100644
--- a/ash/public/interfaces/system_tray.mojom
+++ b/ash/public/interfaces/system_tray.mojom
@@ -72,4 +72,11 @@ interface SystemTrayClient {
// Shows UI for changing proxy settings.
ShowProxySettings();
+
+ // Attempts to sign out the user.
+ // TODO(jamescook): Migrate to a user or login service. crbug.com/665582
+ SignOut();
+
+ // Attempts to restart the system for update.
+ RequestRestartForUpdate();
};

Powered by Google App Engine
This is Rietveld 408576698