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/session_state_delegate.h" | 9 #include "ash/session_state_delegate.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 } | 115 } |
116 | 116 |
117 const std::string TestSystemTrayDelegate::GetEnterpriseDomain() const { | 117 const std::string TestSystemTrayDelegate::GetEnterpriseDomain() const { |
118 return std::string(); | 118 return std::string(); |
119 } | 119 } |
120 | 120 |
121 const base::string16 TestSystemTrayDelegate::GetEnterpriseMessage() const { | 121 const base::string16 TestSystemTrayDelegate::GetEnterpriseMessage() const { |
122 return string16(); | 122 return string16(); |
123 } | 123 } |
124 | 124 |
| 125 const std::string TestSystemTrayDelegate::GetLocallyManagedUserManager() const { |
| 126 return std::string(); |
| 127 } |
| 128 |
| 129 const base::string16 TestSystemTrayDelegate::GetLocallyManagedUserMessage() |
| 130 const { |
| 131 return string16(); |
| 132 } |
| 133 |
125 bool TestSystemTrayDelegate::SystemShouldUpgrade() const { | 134 bool TestSystemTrayDelegate::SystemShouldUpgrade() const { |
126 return true; | 135 return true; |
127 } | 136 } |
128 | 137 |
129 base::HourClockType TestSystemTrayDelegate::GetHourClockType() const { | 138 base::HourClockType TestSystemTrayDelegate::GetHourClockType() const { |
130 return base::k24HourClock; | 139 return base::k24HourClock; |
131 } | 140 } |
132 | 141 |
133 PowerSupplyStatus TestSystemTrayDelegate::GetPowerSupplyStatus() const { | 142 PowerSupplyStatus TestSystemTrayDelegate::GetPowerSupplyStatus() const { |
134 return PowerSupplyStatus(); | 143 return PowerSupplyStatus(); |
(...skipping 28 matching lines...) Expand all Loading... |
163 | 172 |
164 void TestSystemTrayDelegate::ShowAccessibilityHelp() { | 173 void TestSystemTrayDelegate::ShowAccessibilityHelp() { |
165 } | 174 } |
166 | 175 |
167 void TestSystemTrayDelegate::ShowPublicAccountInfo() { | 176 void TestSystemTrayDelegate::ShowPublicAccountInfo() { |
168 } | 177 } |
169 | 178 |
170 void TestSystemTrayDelegate::ShowEnterpriseInfo() { | 179 void TestSystemTrayDelegate::ShowEnterpriseInfo() { |
171 } | 180 } |
172 | 181 |
| 182 void TestSystemTrayDelegate::ShowLocallyManagedUserInfo() { |
| 183 } |
| 184 |
173 void TestSystemTrayDelegate::ShowUserLogin() { | 185 void TestSystemTrayDelegate::ShowUserLogin() { |
174 } | 186 } |
175 | 187 |
176 void TestSystemTrayDelegate::ShutDown() { | 188 void TestSystemTrayDelegate::ShutDown() { |
177 MessageLoop::current()->Quit(); | 189 MessageLoop::current()->Quit(); |
178 } | 190 } |
179 | 191 |
180 void TestSystemTrayDelegate::SignOut() { | 192 void TestSystemTrayDelegate::SignOut() { |
181 MessageLoop::current()->Quit(); | 193 MessageLoop::current()->Quit(); |
182 } | 194 } |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 base::string16 TestSystemTrayDelegate::FormatTimeDuration( | 377 base::string16 TestSystemTrayDelegate::FormatTimeDuration( |
366 const base::TimeDelta& delta) const { | 378 const base::TimeDelta& delta) const { |
367 return base::string16(); | 379 return base::string16(); |
368 } | 380 } |
369 | 381 |
370 void TestSystemTrayDelegate::MaybeSpeak(const std::string& utterance) const { | 382 void TestSystemTrayDelegate::MaybeSpeak(const std::string& utterance) const { |
371 } | 383 } |
372 | 384 |
373 } // namespace test | 385 } // namespace test |
374 } // namespace ash | 386 } // namespace ash |
OLD | NEW |