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

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

Issue 2433363004: Chromad: added AD Join ui, authpolicy_client (Closed)
Patch Set: Created 4 years, 2 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // Called after SystemTray has been instantiated. 115 // Called after SystemTray has been instantiated.
116 virtual void Initialize(); 116 virtual void Initialize();
117 117
118 // Gets information about the active user. 118 // Gets information about the active user.
119 virtual LoginStatus GetUserLoginStatus() const; 119 virtual LoginStatus GetUserLoginStatus() const;
120 120
121 // Returns the domain that manages the device, if it is enterprise-enrolled. 121 // Returns the domain that manages the device, if it is enterprise-enrolled.
122 virtual std::string GetEnterpriseDomain() const; 122 virtual std::string GetEnterpriseDomain() const;
123 123
124 // Returns the AD realm that manages the device, if it is domain joined.
125 virtual std::string GetEnterpriseRealm() const;
126
124 // Returns notification for enterprise enrolled devices. 127 // Returns notification for enterprise enrolled devices.
125 virtual base::string16 GetEnterpriseMessage() const; 128 virtual base::string16 GetEnterpriseMessage() const;
126 129
127 // Returns the display email of the user that manages the current supervised 130 // Returns the display email of the user that manages the current supervised
128 // user. 131 // user.
129 virtual std::string GetSupervisedUserManager() const; 132 virtual std::string GetSupervisedUserManager() const;
130 133
131 // Returns the name of the user that manages the current supervised user. 134 // Returns the name of the user that manages the current supervised user.
132 virtual base::string16 GetSupervisedUserManagerName() const; 135 virtual base::string16 GetSupervisedUserManagerName() const;
133 136
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // Creates a system tray item for display rotation lock. 267 // Creates a system tray item for display rotation lock.
265 // TODO(jamescook): Remove this when mus has support for display management 268 // TODO(jamescook): Remove this when mus has support for display management
266 // and we have a DisplayManager equivalent. See http://crbug.com/548429 269 // and we have a DisplayManager equivalent. See http://crbug.com/548429
267 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 270 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
268 SystemTray* tray); 271 SystemTray* tray);
269 }; 272 };
270 273
271 } // namespace ash 274 } // namespace ash
272 275
273 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 276 #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') | chromeos/dbus/authpolicy_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698