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

Side by Side Diff: ash/public/interfaces/system_tray.mojom

Issue 2493973003: Display "Restart to update" dialog to Chrome OS users. (Closed)
Patch Set: Display "Restart to update" dialog to Chrome OS users. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ash.mojom; 5 module ash.mojom;
6 6
7 // Allows clients (e.g. Chrome browser) to control the ash system tray menu. 7 // Allows clients (e.g. Chrome browser) to control the ash system tray menu.
8 interface SystemTray { 8 interface SystemTray {
9 // Sets the client interface. 9 // Sets the client interface.
10 SetClient(SystemTrayClient client); 10 SetClient(SystemTrayClient client);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 ShowNetworkSettings(string network_id); 78 ShowNetworkSettings(string network_id);
79 79
80 // Shows UI for changing proxy settings. 80 // Shows UI for changing proxy settings.
81 ShowProxySettings(); 81 ShowProxySettings();
82 82
83 // Attempts to sign out the user. 83 // Attempts to sign out the user.
84 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 84 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582
85 SignOut(); 85 SignOut();
86 86
87 // Attempts to restart the system for update. 87 // Attempts to restart the system for update.
88 RequestRestartForUpdate(); 88 RequestRestartForUpdate(bool always_reboot);
89 }; 89 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698