| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 | 272 |
| 273 // Notifies the UI about a change to the user list. | 273 // Notifies the UI about a change to the user list. |
| 274 void NotifyUserListChanged(); | 274 void NotifyUserListChanged(); |
| 275 | 275 |
| 276 // Notifies observers that merge session state had changed. | 276 // Notifies observers that merge session state had changed. |
| 277 void NotifyMergeSessionStateChanged(); | 277 void NotifyMergeSessionStateChanged(); |
| 278 | 278 |
| 279 // Notifies observers that active user has changed. | 279 // Notifies observers that active user has changed. |
| 280 void NotifyActiveUserChanged(const User* active_user); | 280 void NotifyActiveUserChanged(const User* active_user); |
| 281 | 281 |
| 282 // Notifies observers that another user was added to the session. |
| 283 void NotifyUserAddedToSession(const User* added_user); |
| 284 |
| 282 // Notifies observers that active user_id hash has changed. | 285 // Notifies observers that active user_id hash has changed. |
| 283 void NotifyActiveUserHashChanged(const std::string& hash); | 286 void NotifyActiveUserHashChanged(const std::string& hash); |
| 284 | 287 |
| 285 // Notifies observers that user pending sessions restore has finished. | 288 // Notifies observers that user pending sessions restore has finished. |
| 286 void NotifyPendingUserSessionsRestoreFinished(); | 289 void NotifyPendingUserSessionsRestoreFinished(); |
| 287 | 290 |
| 288 // Returns true if there is non-committed user creation transaction. | 291 // Returns true if there is non-committed user creation transaction. |
| 289 bool HasFailedLocallyManagedUserCreationTransaction(); | 292 bool HasFailedLocallyManagedUserCreationTransaction(); |
| 290 | 293 |
| 291 // Attempts to clean up data that could be left from failed user creation. | 294 // Attempts to clean up data that could be left from failed user creation. |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; | 440 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; |
| 438 scoped_ptr<MultiProfileFirstRunNotification> | 441 scoped_ptr<MultiProfileFirstRunNotification> |
| 439 multi_profile_first_run_notification_; | 442 multi_profile_first_run_notification_; |
| 440 | 443 |
| 441 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 444 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 442 }; | 445 }; |
| 443 | 446 |
| 444 } // namespace chromeos | 447 } // namespace chromeos |
| 445 | 448 |
| 446 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 449 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |