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

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

Issue 2829813002: cros: Move IsUserSupervised and IsUserChild off SystemTrayDelegate (Closed)
Patch Set: review comments Created 3 years, 8 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_delegate.h ('k') | ash/system/user/tray_user.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 #include "ash/system/tray/system_tray_delegate.h" 5 #include "ash/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/system/tray/ime_info.h" 7 #include "ash/system/tray/ime_info.h"
8 #include "ash/system/tray/system_tray_item.h" 8 #include "ash/system/tray/system_tray_item.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 25 matching lines...) Expand all
36 } 36 }
37 37
38 base::string16 SystemTrayDelegate::GetSupervisedUserManagerName() const { 38 base::string16 SystemTrayDelegate::GetSupervisedUserManagerName() const {
39 return base::string16(); 39 return base::string16();
40 } 40 }
41 41
42 base::string16 SystemTrayDelegate::GetSupervisedUserMessage() const { 42 base::string16 SystemTrayDelegate::GetSupervisedUserMessage() const {
43 return base::string16(); 43 return base::string16();
44 } 44 }
45 45
46 bool SystemTrayDelegate::IsUserSupervised() const {
47 return false;
48 }
49
50 bool SystemTrayDelegate::IsUserChild() const {
51 return false;
52 }
53
54 void SystemTrayDelegate::ShowEnterpriseInfo() {} 46 void SystemTrayDelegate::ShowEnterpriseInfo() {}
55 47
56 void SystemTrayDelegate::ShowUserLogin() {} 48 void SystemTrayDelegate::ShowUserLogin() {}
57 49
58 void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {} 50 void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {}
59 51
60 void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {} 52 void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {}
61 53
62 void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {} 54 void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {}
63 55
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 87
96 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( 88 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
97 CustodianInfoTrayObserver* observer) {} 89 CustodianInfoTrayObserver* observer) {}
98 90
99 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 91 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
100 SystemTray* tray) { 92 SystemTray* tray) {
101 return nullptr; 93 return nullptr;
102 } 94 }
103 95
104 } // namespace ash 96 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698