| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_system_tray_delegate.h" | 5 #include "ash/test/test_system_tray_delegate.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "ash/common/login_status.h" |
| 9 #include "ash/common/session/session_state_delegate.h" | 10 #include "ash/common/session/session_state_delegate.h" |
| 10 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 11 #include "ash/system/user/login_status.h" | |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 namespace test { | 16 namespace test { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 bool g_system_update_required = false; | 20 bool g_system_update_required = false; |
| 21 LoginStatus g_initial_status = LoginStatus::USER; | 21 LoginStatus g_initial_status = LoginStatus::USER; |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 *session_length_limit = session_length_limit_; | 105 *session_length_limit = session_length_limit_; |
| 106 return session_length_limit_set_; | 106 return session_length_limit_set_; |
| 107 } | 107 } |
| 108 | 108 |
| 109 void TestSystemTrayDelegate::SignOut() { | 109 void TestSystemTrayDelegate::SignOut() { |
| 110 base::MessageLoop::current()->QuitWhenIdle(); | 110 base::MessageLoop::current()->QuitWhenIdle(); |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace test | 113 } // namespace test |
| 114 } // namespace ash | 114 } // namespace ash |
| OLD | NEW |