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 CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const std::string& username) const override; | 94 const std::string& username) const override; |
95 virtual void SaveUserDisplayEmail(const std::string& username, | 95 virtual void SaveUserDisplayEmail(const std::string& username, |
96 const std::string& display_email) override {} | 96 const std::string& display_email) override {} |
97 virtual std::string GetUserDisplayEmail( | 97 virtual std::string GetUserDisplayEmail( |
98 const std::string& username) const override; | 98 const std::string& username) const override; |
99 virtual bool IsCurrentUserOwner() const override; | 99 virtual bool IsCurrentUserOwner() const override; |
100 virtual bool IsCurrentUserNew() const override; | 100 virtual bool IsCurrentUserNew() const override; |
101 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const override; | 101 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const override; |
102 virtual bool CanCurrentUserLock() const override; | 102 virtual bool CanCurrentUserLock() const override; |
103 virtual bool IsUserLoggedIn() const override; | 103 virtual bool IsUserLoggedIn() const override; |
104 virtual bool IsLoggedInAsRegularUser() const override; | 104 virtual bool IsLoggedInAsUserWithGaiaAccount() const override; |
105 virtual bool IsLoggedInAsDemoUser() const override; | 105 virtual bool IsLoggedInAsDemoUser() const override; |
106 virtual bool IsLoggedInAsPublicAccount() const override; | 106 virtual bool IsLoggedInAsPublicAccount() const override; |
107 virtual bool IsLoggedInAsGuest() const override; | 107 virtual bool IsLoggedInAsGuest() const override; |
108 virtual bool IsLoggedInAsSupervisedUser() const override; | 108 virtual bool IsLoggedInAsSupervisedUser() const override; |
109 virtual bool IsLoggedInAsKioskApp() const override; | 109 virtual bool IsLoggedInAsKioskApp() const override; |
110 virtual bool IsLoggedInAsStub() const override; | 110 virtual bool IsLoggedInAsStub() const override; |
111 virtual bool IsSessionStarted() const override; | 111 virtual bool IsSessionStarted() const override; |
112 virtual bool IsUserNonCryptohomeDataEphemeral( | 112 virtual bool IsUserNonCryptohomeDataEphemeral( |
113 const std::string& email) const override; | 113 const std::string& email) const override; |
114 virtual void AddObserver(Observer* obs) override {} | 114 virtual void AddObserver(Observer* obs) override {} |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // active user. | 166 // active user. |
167 std::string active_user_id_; | 167 std::string active_user_id_; |
168 MultiProfileUserController* multi_profile_user_controller_; | 168 MultiProfileUserController* multi_profile_user_controller_; |
169 | 169 |
170 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); | 170 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace chromeos | 173 } // namespace chromeos |
174 | 174 |
175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ | 175 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ |
OLD | NEW |