| 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_CHROME_USER_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 UserFlow* GetUserFlow(const AccountId& account_id) const override; | 76 UserFlow* GetUserFlow(const AccountId& account_id) const override; |
| 77 void SetUserFlow(const AccountId& account_id, UserFlow* flow) override; | 77 void SetUserFlow(const AccountId& account_id, UserFlow* flow) override; |
| 78 void ResetUserFlow(const AccountId& account_id) override; | 78 void ResetUserFlow(const AccountId& account_id) override; |
| 79 | 79 |
| 80 // UserManager implementation: | 80 // UserManager implementation: |
| 81 void Shutdown() override; | 81 void Shutdown() override; |
| 82 user_manager::UserList GetUsersAllowedForMultiProfile() const override; | 82 user_manager::UserList GetUsersAllowedForMultiProfile() const override; |
| 83 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() | 83 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() |
| 84 const override; | 84 const override; |
| 85 user_manager::UserList GetUnlockUsers() const override; | 85 user_manager::UserList GetUnlockUsers() const override; |
| 86 void SessionStarted() override; | |
| 87 void SaveUserOAuthStatus( | 86 void SaveUserOAuthStatus( |
| 88 const AccountId& account_id, | 87 const AccountId& account_id, |
| 89 user_manager::User::OAuthTokenStatus oauth_token_status) override; | 88 user_manager::User::OAuthTokenStatus oauth_token_status) override; |
| 90 void SaveUserDisplayName(const AccountId& account_id, | 89 void SaveUserDisplayName(const AccountId& account_id, |
| 91 const base::string16& display_name) override; | 90 const base::string16& display_name) override; |
| 92 bool CanCurrentUserLock() const override; | 91 bool CanCurrentUserLock() const override; |
| 93 bool IsUserNonCryptohomeDataEphemeral( | 92 bool IsUserNonCryptohomeDataEphemeral( |
| 94 const AccountId& account_id) const override; | 93 const AccountId& account_id) const override; |
| 95 bool AreSupervisedUsersAllowed() const override; | 94 bool AreSupervisedUsersAllowed() const override; |
| 96 void UpdateLoginState(const user_manager::User* active_user, | 95 void UpdateLoginState(const user_manager::User* active_user, |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 std::unique_ptr<BootstrapManager> bootstrap_manager_; | 285 std::unique_ptr<BootstrapManager> bootstrap_manager_; |
| 287 | 286 |
| 288 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; | 287 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; |
| 289 | 288 |
| 290 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); | 289 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); |
| 291 }; | 290 }; |
| 292 | 291 |
| 293 } // namespace chromeos | 292 } // namespace chromeos |
| 294 | 293 |
| 295 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 294 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| OLD | NEW |