| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_USER_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 200 |
| 201 // Returns true if there is non-committed user creation transaction. | 201 // Returns true if there is non-committed user creation transaction. |
| 202 bool HasFailedLocallyManagedUserCreationTransaction(); | 202 bool HasFailedLocallyManagedUserCreationTransaction(); |
| 203 | 203 |
| 204 // Attempts to clean up data that could be left from failed user creation. | 204 // Attempts to clean up data that could be left from failed user creation. |
| 205 void RollbackLocallyManagedUserCreationTransaction(); | 205 void RollbackLocallyManagedUserCreationTransaction(); |
| 206 | 206 |
| 207 // Lazily creates default user flow. | 207 // Lazily creates default user flow. |
| 208 UserFlow* GetDefaultUserFlow() const; | 208 UserFlow* GetDefaultUserFlow() const; |
| 209 | 209 |
| 210 // Update the global LoginState. |
| 211 void UpdateLoginState(); |
| 212 |
| 210 // Interface to the signed settings store. | 213 // Interface to the signed settings store. |
| 211 CrosSettings* cros_settings_; | 214 CrosSettings* cros_settings_; |
| 212 | 215 |
| 213 // Interface to device-local account definitions and associated policy. | 216 // Interface to device-local account definitions and associated policy. |
| 214 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; | 217 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; |
| 215 | 218 |
| 216 // True if users have been loaded from prefs already. | 219 // True if users have been loaded from prefs already. |
| 217 bool users_loaded_; | 220 bool users_loaded_; |
| 218 | 221 |
| 219 // List of all known users. User instances are owned by |this|. Regular users | 222 // List of all known users. User instances are owned by |this|. Regular users |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 | 286 |
| 284 // Specific flows by user e-mail. | 287 // Specific flows by user e-mail. |
| 285 FlowMap specific_flows_; | 288 FlowMap specific_flows_; |
| 286 | 289 |
| 287 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 290 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 288 }; | 291 }; |
| 289 | 292 |
| 290 } // namespace chromeos | 293 } // namespace chromeos |
| 291 | 294 |
| 292 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 295 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |