| 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 <limits> | 7 #include <limits> |
| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 } | 42 } |
| 43 | 43 |
| 44 bool TestShellDelegate::IsGuestSession() const { | 44 bool TestShellDelegate::IsGuestSession() const { |
| 45 return false; | 45 return false; |
| 46 } | 46 } |
| 47 | 47 |
| 48 bool TestShellDelegate::IsFirstRunAfterBoot() const { | 48 bool TestShellDelegate::IsFirstRunAfterBoot() const { |
| 49 return false; | 49 return false; |
| 50 } | 50 } |
| 51 | 51 |
| 52 bool TestShellDelegate::IsMultiProfilesEnabled() const { |
| 53 return false; |
| 54 } |
| 55 |
| 52 bool TestShellDelegate::IsRunningInForcedAppMode() const { | 56 bool TestShellDelegate::IsRunningInForcedAppMode() const { |
| 53 return false; | 57 return false; |
| 54 } | 58 } |
| 55 | 59 |
| 56 bool TestShellDelegate::CanLockScreen() const { | 60 bool TestShellDelegate::CanLockScreen() const { |
| 57 return user_logged_in_ && can_lock_screen_; | 61 return user_logged_in_ && can_lock_screen_; |
| 58 } | 62 } |
| 59 | 63 |
| 60 void TestShellDelegate::LockScreen() { | 64 void TestShellDelegate::LockScreen() { |
| 61 locked_ = true; | 65 locked_ = true; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 can_lock_screen_ = can_lock_screen; | 245 can_lock_screen_ = can_lock_screen; |
| 242 } | 246 } |
| 243 | 247 |
| 244 base::string16 TestShellDelegate::GetProductName() const { | 248 base::string16 TestShellDelegate::GetProductName() const { |
| 245 return base::string16(); | 249 return base::string16(); |
| 246 } | 250 } |
| 247 | 251 |
| 248 | 252 |
| 249 } // namespace test | 253 } // namespace test |
| 250 } // namespace ash | 254 } // namespace ash |
| OLD | NEW |