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

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

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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/system_tray_bubble.cc ('k') | ash/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_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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Called after SystemTray has been instantiated. 127 // Called after SystemTray has been instantiated.
128 virtual void Initialize(); 128 virtual void Initialize();
129 129
130 // Called before SystemTray is destroyed. 130 // Called before SystemTray is destroyed.
131 virtual void Shutdown(); 131 virtual void Shutdown();
132 132
133 // Returns true if system tray should be visible on startup. 133 // Returns true if system tray should be visible on startup.
134 virtual bool GetTrayVisibilityOnStartup(); 134 virtual bool GetTrayVisibilityOnStartup();
135 135
136 // Gets information about the active user. 136 // Gets information about the active user.
137 virtual user::LoginStatus GetUserLoginStatus() const; 137 virtual LoginStatus GetUserLoginStatus() const;
138 138
139 // Shows UI for changing user's profile picture. 139 // Shows UI for changing user's profile picture.
140 virtual void ChangeProfilePicture(); 140 virtual void ChangeProfilePicture();
141 141
142 // Returns the domain that manages the device, if it is enterprise-enrolled. 142 // Returns the domain that manages the device, if it is enterprise-enrolled.
143 virtual std::string GetEnterpriseDomain() const; 143 virtual std::string GetEnterpriseDomain() const;
144 144
145 // Returns notification for enterprise enrolled devices. 145 // Returns notification for enterprise enrolled devices.
146 virtual base::string16 GetEnterpriseMessage() const; 146 virtual base::string16 GetEnterpriseMessage() const;
147 147
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 // asynchronously calls |callback| once a trusted policy becomes available. 333 // asynchronously calls |callback| once a trusted policy becomes available.
334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); 334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback);
335 335
336 // Returns VPNDelegate. May return nullptr. 336 // Returns VPNDelegate. May return nullptr.
337 virtual VPNDelegate* GetVPNDelegate() const; 337 virtual VPNDelegate* GetVPNDelegate() const;
338 }; 338 };
339 339
340 } // namespace ash 340 } // namespace ash
341 341
342 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 342 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698