| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ |
| 6 #define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/session/session_state_delegate.h" | 10 #include "ash/session/session_state_delegate.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 aura::Window* window) override; | 33 aura::Window* window) override; |
| 34 int GetMaximumNumberOfLoggedInUsers() const override; | 34 int GetMaximumNumberOfLoggedInUsers() const override; |
| 35 int NumberOfLoggedInUsers() const override; | 35 int NumberOfLoggedInUsers() const override; |
| 36 bool IsActiveUserSessionStarted() const override; | 36 bool IsActiveUserSessionStarted() const override; |
| 37 bool CanLockScreen() const override; | 37 bool CanLockScreen() const override; |
| 38 bool IsScreenLocked() const override; | 38 bool IsScreenLocked() const override; |
| 39 bool ShouldLockScreenBeforeSuspending() const override; | 39 bool ShouldLockScreenBeforeSuspending() const override; |
| 40 void LockScreen() override; | 40 void LockScreen() override; |
| 41 void UnlockScreen() override; | 41 void UnlockScreen() override; |
| 42 bool IsUserSessionBlocked() const override; | 42 bool IsUserSessionBlocked() const override; |
| 43 bool IsInSupervisedUserCreationFlow() const override; |
| 43 SessionState GetSessionState() const override; | 44 SessionState GetSessionState() const override; |
| 44 const user_manager::UserInfo* GetUserInfo( | 45 const user_manager::UserInfo* GetUserInfo( |
| 45 ash::MultiProfileIndex index) const override; | 46 ash::MultiProfileIndex index) const override; |
| 46 const user_manager::UserInfo* GetUserInfo( | 47 const user_manager::UserInfo* GetUserInfo( |
| 47 content::BrowserContext* context) const override; | 48 content::BrowserContext* context) const override; |
| 48 bool ShouldShowAvatar(aura::Window* window) const override; | 49 bool ShouldShowAvatar(aura::Window* window) const override; |
| 49 void SwitchActiveUser(const std::string& user_id) override; | 50 void SwitchActiveUser(const std::string& user_id) override; |
| 50 void CycleActiveUser(CycleUser cycle_user) override; | 51 void CycleActiveUser(CycleUser cycle_user) override; |
| 51 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override; | 52 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override; |
| 52 void AddSessionStateObserver(ash::SessionStateObserver* observer) override; | 53 void AddSessionStateObserver(ash::SessionStateObserver* observer) override; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 112 |
| 112 std::vector<MockUserInfo*> user_list_; | 113 std::vector<MockUserInfo*> user_list_; |
| 113 | 114 |
| 114 DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate); | 115 DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate); |
| 115 }; | 116 }; |
| 116 | 117 |
| 117 } // namespace test | 118 } // namespace test |
| 118 } // namespace ash | 119 } // namespace ash |
| 119 | 120 |
| 120 #endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ | 121 #endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_ |
| OLD | NEW |