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

Unified Diff: ash/shell.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 | « no previous file | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 913d585baf1fa8a4c42c2ddf6ce2a464f11e4538..fd8c85b355cc91078538ea9a9d491429ea252aa2 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -192,20 +192,20 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
private:
- // SystemTrayDelegate implementation.
- virtual const std::string GetUserDisplayName() OVERRIDE {
+ // Overridden from SystemTrayDelegate:
+ virtual const std::string GetUserDisplayName() const OVERRIDE {
return "chronos";
}
- virtual const std::string GetUserEmail() OVERRIDE {
+ virtual const std::string GetUserEmail() const OVERRIDE {
return "chr@nos";
}
- virtual const SkBitmap& GetUserImage() OVERRIDE {
+ virtual const SkBitmap& GetUserImage() const OVERRIDE {
return null_image_;
}
- virtual user::LoginStatus GetUserLoginStatus() OVERRIDE {
+ virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE {
return user::LOGGED_IN_USER;
}
« no previous file with comments | « no previous file | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698