| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 const std::string& user_id) const override; | 80 const std::string& user_id) const override; |
| 81 virtual void UpdateUserAccountData( | 81 virtual void UpdateUserAccountData( |
| 82 const std::string& user_id, | 82 const std::string& user_id, |
| 83 const UserAccountData& account_data) override; | 83 const UserAccountData& account_data) override; |
| 84 virtual bool IsCurrentUserOwner() const override; | 84 virtual bool IsCurrentUserOwner() const override; |
| 85 virtual bool IsCurrentUserNew() const override; | 85 virtual bool IsCurrentUserNew() const override; |
| 86 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const override; | 86 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const override; |
| 87 virtual bool CanCurrentUserLock() const override; | 87 virtual bool CanCurrentUserLock() const override; |
| 88 virtual bool IsUserLoggedIn() const override; | 88 virtual bool IsUserLoggedIn() const override; |
| 89 virtual bool IsLoggedInAsRegularUser() const override; | 89 virtual bool IsLoggedInAsRegularUser() const override; |
| 90 virtual bool IsLoggedInAsRegularSupervisedUser() const override; |
| 90 virtual bool IsLoggedInAsDemoUser() const override; | 91 virtual bool IsLoggedInAsDemoUser() const override; |
| 91 virtual bool IsLoggedInAsPublicAccount() const override; | 92 virtual bool IsLoggedInAsPublicAccount() const override; |
| 92 virtual bool IsLoggedInAsGuest() const override; | 93 virtual bool IsLoggedInAsGuest() const override; |
| 93 virtual bool IsLoggedInAsSupervisedUser() const override; | 94 virtual bool IsLoggedInAsSupervisedUser() const override; |
| 94 virtual bool IsLoggedInAsKioskApp() const override; | 95 virtual bool IsLoggedInAsKioskApp() const override; |
| 95 virtual bool IsLoggedInAsStub() const override; | 96 virtual bool IsLoggedInAsStub() const override; |
| 96 virtual bool IsSessionStarted() const override; | 97 virtual bool IsSessionStarted() const override; |
| 97 virtual bool IsUserNonCryptohomeDataEphemeral( | 98 virtual bool IsUserNonCryptohomeDataEphemeral( |
| 98 const std::string& user_id) const override; | 99 const std::string& user_id) const override; |
| 99 virtual void AddObserver(UserManager::Observer* obs) override; | 100 virtual void AddObserver(UserManager::Observer* obs) override; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 scoped_refptr<base::TaskRunner> blocking_task_runner_; | 385 scoped_refptr<base::TaskRunner> blocking_task_runner_; |
| 385 | 386 |
| 386 base::WeakPtrFactory<UserManagerBase> weak_factory_; | 387 base::WeakPtrFactory<UserManagerBase> weak_factory_; |
| 387 | 388 |
| 388 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); | 389 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); |
| 389 }; | 390 }; |
| 390 | 391 |
| 391 } // namespace user_manager | 392 } // namespace user_manager |
| 392 | 393 |
| 393 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 394 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
| OLD | NEW |