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

Unified Diff: chrome/browser/chromeos/system/ash_system_tray_delegate.cc

Issue 9584034: ash: Constantify user methods of SystemTrayDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase ... Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
index fbad6bd18e4cce53ebf897dc21764e4853c270ec..dbd7281fece5d5aa8c73fc9962ea65964e15c819 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -49,20 +49,20 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
DBusThreadManager::Get()->GetPowerManagerClient()->RemoveObserver(this);
}
- // Overridden from ash::SystemTrayDelegate.
- virtual const std::string GetUserDisplayName() OVERRIDE {
+ // Overridden from ash::SystemTrayDelegate:
+ virtual const std::string GetUserDisplayName() const OVERRIDE {
return UserManager::Get()->logged_in_user().GetDisplayName();
}
- virtual const std::string GetUserEmail() OVERRIDE {
+ virtual const std::string GetUserEmail() const OVERRIDE {
return UserManager::Get()->logged_in_user().email();
}
- virtual const SkBitmap& GetUserImage() OVERRIDE {
+ virtual const SkBitmap& GetUserImage() const OVERRIDE {
return UserManager::Get()->logged_in_user().image();
}
- virtual ash::user::LoginStatus GetUserLoginStatus() OVERRIDE {
+ virtual ash::user::LoginStatus GetUserLoginStatus() const OVERRIDE {
UserManager* manager = UserManager::Get();
if (!manager->user_is_logged_in())
return ash::user::LOGGED_IN_NONE;
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698