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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 575653002: Revert of ash: Add checks for supervised users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Returns the display email of the user that manages the current supervised 112 // Returns the display email of the user that manages the current supervised
113 // user. 113 // user.
114 virtual const std::string GetSupervisedUserManager() const = 0; 114 virtual const std::string GetSupervisedUserManager() const = 0;
115 115
116 // Returns the name of the user that manages the current supervised user. 116 // Returns the name of the user that manages the current supervised user.
117 virtual const base::string16 GetSupervisedUserManagerName() const = 0; 117 virtual const base::string16 GetSupervisedUserManagerName() const = 0;
118 118
119 // Returns the notification for supervised users. 119 // Returns the notification for supervised users.
120 virtual const base::string16 GetSupervisedUserMessage() const = 0; 120 virtual const base::string16 GetSupervisedUserMessage() const = 0;
121 121
122 // Returns true if the current user is supervised.
123 virtual bool IsUserSupervised() const = 0;
124
125 // Returns whether a system upgrade is available. 122 // Returns whether a system upgrade is available.
126 virtual bool SystemShouldUpgrade() const = 0; 123 virtual bool SystemShouldUpgrade() const = 0;
127 124
128 // Returns the desired hour clock type. 125 // Returns the desired hour clock type.
129 virtual base::HourClockType GetHourClockType() const = 0; 126 virtual base::HourClockType GetHourClockType() const = 0;
130 127
131 // Shows settings. 128 // Shows settings.
132 virtual void ShowSettings() = 0; 129 virtual void ShowSettings() = 0;
133 130
134 // Returns true if settings menu item should appear. 131 // Returns true if settings menu item should appear.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 virtual bool IsSearchKeyMappedToCapsLock() = 0; 296 virtual bool IsSearchKeyMappedToCapsLock() = 0;
300 297
301 // Returns accounts delegate for given user. 298 // Returns accounts delegate for given user.
302 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( 299 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate(
303 const std::string& user_id) = 0; 300 const std::string& user_id) = 0;
304 }; 301 };
305 302
306 } // namespace ash 303 } // namespace ash
307 304
308 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 305 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/default_system_tray_delegate.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698