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

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

Issue 2491623003: Show realm in device owner notice (Closed)
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray_delegate.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_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 // Called after SystemTray has been instantiated. 98 // Called after SystemTray has been instantiated.
99 virtual void Initialize(); 99 virtual void Initialize();
100 100
101 // Gets information about the active user. 101 // Gets information about the active user.
102 virtual LoginStatus GetUserLoginStatus() const; 102 virtual LoginStatus GetUserLoginStatus() const;
103 103
104 // Returns the domain that manages the device, if it is enterprise-enrolled. 104 // Returns the domain that manages the device, if it is enterprise-enrolled.
105 virtual std::string GetEnterpriseDomain() const; 105 virtual std::string GetEnterpriseDomain() const;
106 106
107 // Returns the realm that manages the device, if it is enterprise enrolled
108 // with Active Directory and joined the realm (Active Directory domain).
109 virtual std::string GetEnterpriseRealm() const;
110
107 // Returns notification for enterprise enrolled devices. 111 // Returns notification for enterprise enrolled devices.
108 virtual base::string16 GetEnterpriseMessage() const; 112 virtual base::string16 GetEnterpriseMessage() const;
109 113
110 // Returns the display email of the user that manages the current supervised 114 // Returns the display email of the user that manages the current supervised
111 // user. 115 // user.
112 virtual std::string GetSupervisedUserManager() const; 116 virtual std::string GetSupervisedUserManager() const;
113 117
114 // Returns the name of the user that manages the current supervised user. 118 // Returns the name of the user that manages the current supervised user.
115 virtual base::string16 GetSupervisedUserManagerName() const; 119 virtual base::string16 GetSupervisedUserManagerName() const;
116 120
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // Creates a system tray item for display rotation lock. 244 // Creates a system tray item for display rotation lock.
241 // TODO(jamescook): Remove this when mus has support for display management 245 // TODO(jamescook): Remove this when mus has support for display management
242 // and we have a DisplayManager equivalent. See http://crbug.com/548429 246 // and we have a DisplayManager equivalent. See http://crbug.com/548429
243 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 247 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
244 SystemTray* tray); 248 SystemTray* tray);
245 }; 249 };
246 250
247 } // namespace ash 251 } // namespace ash
248 252
249 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 253 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698