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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 241 |
242 // Attempts to clean up data that could be left from failed user creation. | 242 // Attempts to clean up data that could be left from failed user creation. |
243 void RollbackLocallyManagedUserCreationTransaction(); | 243 void RollbackLocallyManagedUserCreationTransaction(); |
244 | 244 |
245 // Lazily creates default user flow. | 245 // Lazily creates default user flow. |
246 UserFlow* GetDefaultUserFlow() const; | 246 UserFlow* GetDefaultUserFlow() const; |
247 | 247 |
248 // Update the global LoginState. | 248 // Update the global LoginState. |
249 void UpdateLoginState(); | 249 void UpdateLoginState(); |
250 | 250 |
| 251 // Gets the list of public accounts defined in device settings. |
| 252 void ReadPublicAccounts(base::ListValue* public_accounts); |
| 253 |
251 // Interface to the signed settings store. | 254 // Interface to the signed settings store. |
252 CrosSettings* cros_settings_; | 255 CrosSettings* cros_settings_; |
253 | 256 |
254 // Interface to device-local account definitions and associated policy. | 257 // Interface to device-local account definitions and associated policy. |
255 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; | 258 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; |
256 | 259 |
257 // True if users have been loaded from prefs already. | 260 // True if users have been loaded from prefs already. |
258 bool users_loaded_; | 261 bool users_loaded_; |
259 | 262 |
260 // List of all known users. User instances are owned by |this|. Regular users | 263 // List of all known users. User instances are owned by |this|. Regular users |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 336 |
334 // Specific flows by user e-mail. | 337 // Specific flows by user e-mail. |
335 FlowMap specific_flows_; | 338 FlowMap specific_flows_; |
336 | 339 |
337 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 340 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
338 }; | 341 }; |
339 | 342 |
340 } // namespace chromeos | 343 } // namespace chromeos |
341 | 344 |
342 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 345 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
OLD | NEW |