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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 1376663002: Remove const qualifier from function return type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « chrome/browser/ui/ash/system_tray_delegate_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index d9f7938366fd6db9c937b1b1652370554385a421..f0cfb3987d9dcc99e2f15bb72b4b7d7551733d5a 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -366,21 +366,21 @@ std::string SystemTrayDelegateChromeOS::GetEnterpriseDomain() const {
return enterprise_domain_;
}
-const base::string16 SystemTrayDelegateChromeOS::GetEnterpriseMessage() const {
+base::string16 SystemTrayDelegateChromeOS::GetEnterpriseMessage() const {
if (GetEnterpriseDomain().empty())
return base::string16();
return l10n_util::GetStringFUTF16(IDS_DEVICE_OWNED_BY_NOTICE,
base::UTF8ToUTF16(GetEnterpriseDomain()));
}
-const std::string SystemTrayDelegateChromeOS::GetSupervisedUserManager() const {
+std::string SystemTrayDelegateChromeOS::GetSupervisedUserManager() const {
if (!IsUserSupervised())
return std::string();
return SupervisedUserServiceFactory::GetForProfile(user_profile_)->
GetCustodianEmailAddress();
}
-const base::string16
+base::string16
SystemTrayDelegateChromeOS::GetSupervisedUserManagerName() const {
if (!IsUserSupervised())
return base::string16();
@@ -388,7 +388,7 @@ SystemTrayDelegateChromeOS::GetSupervisedUserManagerName() const {
user_profile_)->GetCustodianName());
}
-const base::string16 SystemTrayDelegateChromeOS::GetSupervisedUserMessage()
+base::string16 SystemTrayDelegateChromeOS::GetSupervisedUserMessage()
const {
if (!IsUserSupervised())
return base::string16();
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698