| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // policy::DeviceLocalAccountPolicyService::Observer implementation. | 142 // policy::DeviceLocalAccountPolicyService::Observer implementation. |
| 143 virtual void OnPolicyUpdated(const std::string& user_id) OVERRIDE; | 143 virtual void OnPolicyUpdated(const std::string& user_id) OVERRIDE; |
| 144 virtual void OnDeviceLocalAccountsChanged() OVERRIDE; | 144 virtual void OnDeviceLocalAccountsChanged() OVERRIDE; |
| 145 | 145 |
| 146 virtual bool RespectLocalePreference( | 146 virtual bool RespectLocalePreference( |
| 147 Profile* profile, | 147 Profile* profile, |
| 148 const User* user, | 148 const User* user, |
| 149 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const OVERRIDE; | 149 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const OVERRIDE; |
| 150 | 150 |
| 151 private: | 151 private: |
| 152 friend class SpeechSynthesisLoaderTest; |
| 152 friend class SupervisedUserManagerImpl; | 153 friend class SupervisedUserManagerImpl; |
| 153 friend class UserManager; | 154 friend class UserManager; |
| 154 friend class WallpaperManager; | 155 friend class WallpaperManager; |
| 155 friend class UserManagerTest; | 156 friend class UserManagerTest; |
| 156 friend class WallpaperManagerTest; | 157 friend class WallpaperManagerTest; |
| 157 | 158 |
| 158 // Stages of loading user list from preferences. Some methods can have | 159 // Stages of loading user list from preferences. Some methods can have |
| 159 // different behavior depending on stage. | 160 // different behavior depending on stage. |
| 160 enum UserLoadStage { | 161 enum UserLoadStage { |
| 161 STAGE_NOT_LOADED = 0, | 162 STAGE_NOT_LOADED = 0, |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; | 443 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; |
| 443 scoped_ptr<MultiProfileFirstRunNotification> | 444 scoped_ptr<MultiProfileFirstRunNotification> |
| 444 multi_profile_first_run_notification_; | 445 multi_profile_first_run_notification_; |
| 445 | 446 |
| 446 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 447 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 447 }; | 448 }; |
| 448 | 449 |
| 449 } // namespace chromeos | 450 } // namespace chromeos |
| 450 | 451 |
| 451 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 452 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |