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