| 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_USER_MANAGER_BASE_H_ | 5 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
| 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 bool IsCurrentUserNonCryptohomeDataEphemeral() const override; | 88 bool IsCurrentUserNonCryptohomeDataEphemeral() const override; |
| 89 bool IsCurrentUserCryptohomeDataEphemeral() const override; | 89 bool IsCurrentUserCryptohomeDataEphemeral() const override; |
| 90 bool CanCurrentUserLock() const override; | 90 bool CanCurrentUserLock() const override; |
| 91 bool IsUserLoggedIn() const override; | 91 bool IsUserLoggedIn() const override; |
| 92 bool IsLoggedInAsUserWithGaiaAccount() const override; | 92 bool IsLoggedInAsUserWithGaiaAccount() const override; |
| 93 bool IsLoggedInAsChildUser() const override; | 93 bool IsLoggedInAsChildUser() const override; |
| 94 bool IsLoggedInAsPublicAccount() const override; | 94 bool IsLoggedInAsPublicAccount() const override; |
| 95 bool IsLoggedInAsGuest() const override; | 95 bool IsLoggedInAsGuest() const override; |
| 96 bool IsLoggedInAsSupervisedUser() const override; | 96 bool IsLoggedInAsSupervisedUser() const override; |
| 97 bool IsLoggedInAsKioskApp() const override; | 97 bool IsLoggedInAsKioskApp() const override; |
| 98 bool IsLoggedInAsArcKioskApp() const override; |
| 98 bool IsLoggedInAsStub() const override; | 99 bool IsLoggedInAsStub() const override; |
| 99 bool IsSessionStarted() const override; | 100 bool IsSessionStarted() const override; |
| 100 bool IsUserNonCryptohomeDataEphemeral( | 101 bool IsUserNonCryptohomeDataEphemeral( |
| 101 const AccountId& account_id) const override; | 102 const AccountId& account_id) const override; |
| 102 bool IsUserCryptohomeDataEphemeral( | 103 bool IsUserCryptohomeDataEphemeral( |
| 103 const AccountId& account_id) const override; | 104 const AccountId& account_id) const override; |
| 104 void AddObserver(UserManager::Observer* obs) override; | 105 void AddObserver(UserManager::Observer* obs) override; |
| 105 void RemoveObserver(UserManager::Observer* obs) override; | 106 void RemoveObserver(UserManager::Observer* obs) override; |
| 106 void AddSessionStateObserver( | 107 void AddSessionStateObserver( |
| 107 UserManager::UserSessionStateObserver* obs) override; | 108 UserManager::UserSessionStateObserver* obs) override; |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 scoped_refptr<base::TaskRunner> task_runner_; | 388 scoped_refptr<base::TaskRunner> task_runner_; |
| 388 | 389 |
| 389 base::WeakPtrFactory<UserManagerBase> weak_factory_; | 390 base::WeakPtrFactory<UserManagerBase> weak_factory_; |
| 390 | 391 |
| 391 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); | 392 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); |
| 392 }; | 393 }; |
| 393 | 394 |
| 394 } // namespace user_manager | 395 } // namespace user_manager |
| 395 | 396 |
| 396 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 397 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
| OLD | NEW |