| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ | 5 #ifndef COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ |
| 6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ | 6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 bool IsCurrentUserOwner() const override; | 86 bool IsCurrentUserOwner() const override; |
| 87 bool IsCurrentUserNew() const override; | 87 bool IsCurrentUserNew() const override; |
| 88 bool IsCurrentUserNonCryptohomeDataEphemeral() const override; | 88 bool IsCurrentUserNonCryptohomeDataEphemeral() const override; |
| 89 bool CanCurrentUserLock() const override; | 89 bool CanCurrentUserLock() const override; |
| 90 bool IsUserLoggedIn() const override; | 90 bool IsUserLoggedIn() const override; |
| 91 bool IsLoggedInAsUserWithGaiaAccount() const override; | 91 bool IsLoggedInAsUserWithGaiaAccount() const override; |
| 92 bool IsLoggedInAsPublicAccount() const override; | 92 bool IsLoggedInAsPublicAccount() const override; |
| 93 bool IsLoggedInAsGuest() const override; | 93 bool IsLoggedInAsGuest() const override; |
| 94 bool IsLoggedInAsSupervisedUser() const override; | 94 bool IsLoggedInAsSupervisedUser() const override; |
| 95 bool IsLoggedInAsKioskApp() const override; | 95 bool IsLoggedInAsKioskApp() const override; |
| 96 bool IsLoggedInAsArcKioskApp() const override; |
| 96 bool IsLoggedInAsStub() const override; | 97 bool IsLoggedInAsStub() const override; |
| 97 bool IsSessionStarted() const override; | 98 bool IsSessionStarted() const override; |
| 98 bool IsUserNonCryptohomeDataEphemeral( | 99 bool IsUserNonCryptohomeDataEphemeral( |
| 99 const AccountId& account_id) const override; | 100 const AccountId& account_id) const override; |
| 100 void AddObserver(Observer* obs) override {} | 101 void AddObserver(Observer* obs) override {} |
| 101 void RemoveObserver(Observer* obs) override {} | 102 void RemoveObserver(Observer* obs) override {} |
| 102 void AddSessionStateObserver(UserSessionStateObserver* obs) override {} | 103 void AddSessionStateObserver(UserSessionStateObserver* obs) override {} |
| 103 void RemoveSessionStateObserver(UserSessionStateObserver* obs) override {} | 104 void RemoveSessionStateObserver(UserSessionStateObserver* obs) override {} |
| 104 void NotifyLocalStateChanged() override {} | 105 void NotifyLocalStateChanged() override {} |
| 105 bool AreSupervisedUsersAllowed() const override; | 106 bool AreSupervisedUsersAllowed() const override; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 157 |
| 157 // stub. Always empty. | 158 // stub. Always empty. |
| 158 gfx::ImageSkia empty_image_; | 159 gfx::ImageSkia empty_image_; |
| 159 | 160 |
| 160 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); | 161 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); |
| 161 }; | 162 }; |
| 162 | 163 |
| 163 } // namespace user_manager | 164 } // namespace user_manager |
| 164 | 165 |
| 165 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ | 166 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ |
| OLD | NEW |