| 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 #include <vector> | 10 #include <vector> |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 | 308 |
| 309 // Notifies observers that user pending sessions restore has finished. | 309 // Notifies observers that user pending sessions restore has finished. |
| 310 void NotifyPendingUserSessionsRestoreFinished(); | 310 void NotifyPendingUserSessionsRestoreFinished(); |
| 311 | 311 |
| 312 // Lazily creates default user flow. | 312 // Lazily creates default user flow. |
| 313 UserFlow* GetDefaultUserFlow() const; | 313 UserFlow* GetDefaultUserFlow() const; |
| 314 | 314 |
| 315 // Update the global LoginState. | 315 // Update the global LoginState. |
| 316 void UpdateLoginState(); | 316 void UpdateLoginState(); |
| 317 | 317 |
| 318 // Insert |user| at the front of the LRU user list.. | 318 // Insert |user| at the front of the LRU user list. |
| 319 void SetLRUUser(User* user); | 319 void SetLRUUser(User* user); |
| 320 | 320 |
| 321 // Adds |user| to users list, and adds it to front of LRU list. It is assumed | 321 // Adds |user| to users list, and adds it to front of LRU list. It is assumed |
| 322 // that there is no user with same id. | 322 // that there is no user with same id. |
| 323 void AddUserRecord(User* user); | 323 void AddUserRecord(User* user); |
| 324 | 324 |
| 325 // Callback to process RetrieveActiveSessions() request results. | 325 // Callback to process RetrieveActiveSessions() request results. |
| 326 void OnRestoreActiveSessions( | 326 void OnRestoreActiveSessions( |
| 327 const SessionManagerClient::ActiveSessionsMap& sessions, | 327 const SessionManagerClient::ActiveSessionsMap& sessions, |
| 328 bool success); | 328 bool success); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 // Observer for the policy that can be used to manage wallpapers. | 485 // Observer for the policy that can be used to manage wallpapers. |
| 486 scoped_ptr<policy::CloudExternalDataPolicyObserver> | 486 scoped_ptr<policy::CloudExternalDataPolicyObserver> |
| 487 wallpaper_policy_observer_; | 487 wallpaper_policy_observer_; |
| 488 | 488 |
| 489 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 489 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 490 }; | 490 }; |
| 491 | 491 |
| 492 } // namespace chromeos | 492 } // namespace chromeos |
| 493 | 493 |
| 494 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 494 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |