OLD | NEW |
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/test_system_tray_delegate.h" | 5 #include "ash/system/tray/test_system_tray_delegate.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 return user::LOGGED_IN_LOCKED; | 96 return user::LOGGED_IN_LOCKED; |
97 // TODO(nkostylev): Support LOGGED_IN_OWNER, LOGGED_IN_GUEST, LOGGED_IN_KIOSK, | 97 // TODO(nkostylev): Support LOGGED_IN_OWNER, LOGGED_IN_GUEST, LOGGED_IN_KIOSK, |
98 // LOGGED_IN_PUBLIC. | 98 // LOGGED_IN_PUBLIC. |
99 return user::LOGGED_IN_USER; | 99 return user::LOGGED_IN_USER; |
100 } | 100 } |
101 | 101 |
102 bool TestSystemTrayDelegate::IsOobeCompleted() const { | 102 bool TestSystemTrayDelegate::IsOobeCompleted() const { |
103 return true; | 103 return true; |
104 } | 104 } |
105 | 105 |
| 106 void TestSystemTrayDelegate::GetLoggedInUsers(UserEmailList* users) { |
| 107 } |
| 108 |
| 109 void TestSystemTrayDelegate::SwitchActiveUser(const std::string& email) { |
| 110 } |
| 111 |
106 void TestSystemTrayDelegate::ChangeProfilePicture() { | 112 void TestSystemTrayDelegate::ChangeProfilePicture() { |
107 } | 113 } |
108 | 114 |
109 const std::string TestSystemTrayDelegate::GetEnterpriseDomain() const { | 115 const std::string TestSystemTrayDelegate::GetEnterpriseDomain() const { |
110 return std::string(); | 116 return std::string(); |
111 } | 117 } |
112 | 118 |
113 const base::string16 TestSystemTrayDelegate::GetEnterpriseMessage() const { | 119 const base::string16 TestSystemTrayDelegate::GetEnterpriseMessage() const { |
114 return string16(); | 120 return string16(); |
115 } | 121 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 161 |
156 void TestSystemTrayDelegate::ShowAccessibilityHelp() { | 162 void TestSystemTrayDelegate::ShowAccessibilityHelp() { |
157 } | 163 } |
158 | 164 |
159 void TestSystemTrayDelegate::ShowPublicAccountInfo() { | 165 void TestSystemTrayDelegate::ShowPublicAccountInfo() { |
160 } | 166 } |
161 | 167 |
162 void TestSystemTrayDelegate::ShowEnterpriseInfo() { | 168 void TestSystemTrayDelegate::ShowEnterpriseInfo() { |
163 } | 169 } |
164 | 170 |
| 171 void TestSystemTrayDelegate::ShowUserLogin() { |
| 172 } |
| 173 |
165 void TestSystemTrayDelegate::ShutDown() { | 174 void TestSystemTrayDelegate::ShutDown() { |
166 MessageLoop::current()->Quit(); | 175 MessageLoop::current()->Quit(); |
167 } | 176 } |
168 | 177 |
169 void TestSystemTrayDelegate::SignOut() { | 178 void TestSystemTrayDelegate::SignOut() { |
170 MessageLoop::current()->Quit(); | 179 MessageLoop::current()->Quit(); |
171 } | 180 } |
172 | 181 |
173 void TestSystemTrayDelegate::RequestLockScreen() { | 182 void TestSystemTrayDelegate::RequestLockScreen() { |
174 } | 183 } |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 base::string16 TestSystemTrayDelegate::FormatTimeDuration( | 363 base::string16 TestSystemTrayDelegate::FormatTimeDuration( |
355 const base::TimeDelta& delta) const { | 364 const base::TimeDelta& delta) const { |
356 return base::string16(); | 365 return base::string16(); |
357 } | 366 } |
358 | 367 |
359 void TestSystemTrayDelegate::MaybeSpeak(const std::string& utterance) const { | 368 void TestSystemTrayDelegate::MaybeSpeak(const std::string& utterance) const { |
360 } | 369 } |
361 | 370 |
362 } // namespace test | 371 } // namespace test |
363 } // namespace ash | 372 } // namespace ash |
OLD | NEW |