| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // |RemoveNonOwnerUserInternal|. | 342 // |RemoveNonOwnerUserInternal|. |
| 343 void RemoveUserInternal(const std::string& user_email, | 343 void RemoveUserInternal(const std::string& user_email, |
| 344 RemoveUserDelegate* delegate); | 344 RemoveUserDelegate* delegate); |
| 345 | 345 |
| 346 // Implementation for RemoveUser method. It is synchronous. It is called from | 346 // Implementation for RemoveUser method. It is synchronous. It is called from |
| 347 // RemoveUserInternal after owner check. | 347 // RemoveUserInternal after owner check. |
| 348 void RemoveNonOwnerUserInternal(const std::string& user_email, | 348 void RemoveNonOwnerUserInternal(const std::string& user_email, |
| 349 RemoveUserDelegate* delegate); | 349 RemoveUserDelegate* delegate); |
| 350 | 350 |
| 351 // MultiProfileUserControllerDelegate implementation: | 351 // MultiProfileUserControllerDelegate implementation: |
| 352 virtual void OnUserNotAllowed() OVERRIDE; | 352 virtual void OnUserNotAllowed(const std::string& user_email) OVERRIDE; |
| 353 | 353 |
| 354 // Sets account locale for user with id |user_id|. | 354 // Sets account locale for user with id |user_id|. |
| 355 virtual void UpdateUserAccountLocale(const std::string& user_id, | 355 virtual void UpdateUserAccountLocale(const std::string& user_id, |
| 356 const std::string& locale); | 356 const std::string& locale); |
| 357 | 357 |
| 358 // Updates user account after locale was resolved. | 358 // Updates user account after locale was resolved. |
| 359 void DoUpdateAccountLocale(const std::string& user_id, | 359 void DoUpdateAccountLocale(const std::string& user_id, |
| 360 const std::string& resolved_locale); | 360 const std::string& resolved_locale); |
| 361 | 361 |
| 362 // Update the number of users. | 362 // Update the number of users. |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 | 478 |
| 479 // Observer for the policy that can be used to manage user images. | 479 // Observer for the policy that can be used to manage user images. |
| 480 scoped_ptr<policy::CloudExternalDataPolicyObserver> policy_observer_; | 480 scoped_ptr<policy::CloudExternalDataPolicyObserver> policy_observer_; |
| 481 | 481 |
| 482 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 482 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 483 }; | 483 }; |
| 484 | 484 |
| 485 } // namespace chromeos | 485 } // namespace chromeos |
| 486 | 486 |
| 487 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 487 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |