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

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

Issue 1320013006: Return const by ref instead of value (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 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 #include "ash/system/tray/system_tray_delegate.h" 5 #include "ash/system/tray/system_tray_delegate.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 NetworkIconInfo::NetworkIconInfo() 9 NetworkIconInfo::NetworkIconInfo()
10 : connecting(false), 10 : connecting(false),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 return false; 60 return false;
61 } 61 }
62 62
63 user::LoginStatus SystemTrayDelegate::GetUserLoginStatus() const { 63 user::LoginStatus SystemTrayDelegate::GetUserLoginStatus() const {
64 return user::LOGGED_IN_NONE; 64 return user::LOGGED_IN_NONE;
65 } 65 }
66 66
67 void SystemTrayDelegate::ChangeProfilePicture() { 67 void SystemTrayDelegate::ChangeProfilePicture() {
68 } 68 }
69 69
70 const std::string SystemTrayDelegate::GetEnterpriseDomain() const { 70 std::string SystemTrayDelegate::GetEnterpriseDomain() const {
71 return std::string(); 71 return std::string();
72 } 72 }
73 73
74 const base::string16 SystemTrayDelegate::GetEnterpriseMessage() const { 74 const base::string16 SystemTrayDelegate::GetEnterpriseMessage() const {
75 return base::string16(); 75 return base::string16();
76 } 76 }
77 77
78 const std::string SystemTrayDelegate::GetSupervisedUserManager() const { 78 const std::string SystemTrayDelegate::GetSupervisedUserManager() const {
79 return std::string(); 79 return std::string();
80 } 80 }
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 void SystemTrayDelegate::ShouldRebootOnShutdown( 282 void SystemTrayDelegate::ShouldRebootOnShutdown(
283 const RebootOnShutdownCallback& callback) { 283 const RebootOnShutdownCallback& callback) {
284 } 284 }
285 285
286 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 286 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
287 return nullptr; 287 return nullptr;
288 } 288 }
289 289
290 } // namespace ash 290 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698