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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 232 |
233 // Attempts to clean up data that could be left from failed user creation. | 233 // Attempts to clean up data that could be left from failed user creation. |
234 void RollbackLocallyManagedUserCreationTransaction(); | 234 void RollbackLocallyManagedUserCreationTransaction(); |
235 | 235 |
236 // Lazily creates default user flow. | 236 // Lazily creates default user flow. |
237 UserFlow* GetDefaultUserFlow() const; | 237 UserFlow* GetDefaultUserFlow() const; |
238 | 238 |
239 // Update the global LoginState. | 239 // Update the global LoginState. |
240 void UpdateLoginState(); | 240 void UpdateLoginState(); |
241 | 241 |
| 242 // Gets the list of public accounts defined in device settings. |
| 243 void ReadPublicAccounts(base::ListValue* public_accounts); |
| 244 |
242 // Interface to the signed settings store. | 245 // Interface to the signed settings store. |
243 CrosSettings* cros_settings_; | 246 CrosSettings* cros_settings_; |
244 | 247 |
245 // Interface to device-local account definitions and associated policy. | 248 // Interface to device-local account definitions and associated policy. |
246 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; | 249 policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; |
247 | 250 |
248 // True if users have been loaded from prefs already. | 251 // True if users have been loaded from prefs already. |
249 bool users_loaded_; | 252 bool users_loaded_; |
250 | 253 |
251 // List of all known users. User instances are owned by |this|. Regular users | 254 // List of all known users. User instances are owned by |this|. Regular users |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 | 323 |
321 // Specific flows by user e-mail. | 324 // Specific flows by user e-mail. |
322 FlowMap specific_flows_; | 325 FlowMap specific_flows_; |
323 | 326 |
324 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 327 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
325 }; | 328 }; |
326 | 329 |
327 } // namespace chromeos | 330 } // namespace chromeos |
328 | 331 |
329 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 332 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
OLD | NEW |