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/test/test_shell_delegate.h" | 5 #include "ash/test/test_shell_delegate.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "ash/caps_lock_delegate_stub.h" | 9 #include "ash/caps_lock_delegate_stub.h" |
10 #include "ash/host/root_window_host_factory.h" | 10 #include "ash/host/root_window_host_factory.h" |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 void TestShellDelegate::SetUserLoggedIn(bool user_logged_in) { | 216 void TestShellDelegate::SetUserLoggedIn(bool user_logged_in) { |
217 user_logged_in_ = user_logged_in; | 217 user_logged_in_ = user_logged_in; |
218 if (!user_logged_in) | 218 if (!user_logged_in) |
219 session_started_ = false; | 219 session_started_ = false; |
220 } | 220 } |
221 | 221 |
222 void TestShellDelegate::SetCanLockScreen(bool can_lock_screen) { | 222 void TestShellDelegate::SetCanLockScreen(bool can_lock_screen) { |
223 can_lock_screen_ = can_lock_screen; | 223 can_lock_screen_ = can_lock_screen; |
224 } | 224 } |
225 | 225 |
| 226 string16 TestShellDelegate::GetProductName() const { |
| 227 return string16(); |
| 228 } |
| 229 |
| 230 |
226 } // namespace test | 231 } // namespace test |
227 } // namespace ash | 232 } // namespace ash |
OLD | NEW |