| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_USERS_CHROME_USER_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 public MultiProfileUserControllerDelegate { | 56 public MultiProfileUserControllerDelegate { |
| 57 public: | 57 public: |
| 58 ~ChromeUserManagerImpl() override; | 58 ~ChromeUserManagerImpl() override; |
| 59 | 59 |
| 60 // Creates ChromeUserManagerImpl instance. | 60 // Creates ChromeUserManagerImpl instance. |
| 61 static scoped_ptr<ChromeUserManager> CreateChromeUserManager(); | 61 static scoped_ptr<ChromeUserManager> CreateChromeUserManager(); |
| 62 | 62 |
| 63 // Registers user manager preferences. | 63 // Registers user manager preferences. |
| 64 static void RegisterPrefs(PrefRegistrySimple* registry); | 64 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 65 | 65 |
| 66 // ChromeUserManager implementation: | 66 // UserManagerInterface implementation: |
| 67 MultiProfileUserController* GetMultiProfileUserController() override; | 67 MultiProfileUserController* GetMultiProfileUserController() override; |
| 68 UserImageManager* GetUserImageManager(const std::string& user_id) override; | 68 UserImageManager* GetUserImageManager(const std::string& user_id) override; |
| 69 SupervisedUserManager* GetSupervisedUserManager() override; | 69 SupervisedUserManager* GetSupervisedUserManager() override; |
| 70 UserFlow* GetCurrentUserFlow() const override; | 70 UserFlow* GetCurrentUserFlow() const override; |
| 71 UserFlow* GetUserFlow(const std::string& user_id) const override; | 71 UserFlow* GetUserFlow(const std::string& user_id) const override; |
| 72 void SetUserFlow(const std::string& user_id, UserFlow* flow) override; | 72 void SetUserFlow(const std::string& user_id, UserFlow* flow) override; |
| 73 void ResetUserFlow(const std::string& user_id) override; | 73 void ResetUserFlow(const std::string& user_id) override; |
| 74 | 74 |
| 75 // UserManager implementation: | 75 // UserManager implementation: |
| 76 void Shutdown() override; | 76 void Shutdown() override; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 wallpaper_policy_observer_; | 236 wallpaper_policy_observer_; |
| 237 | 237 |
| 238 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; | 238 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; |
| 239 | 239 |
| 240 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); | 240 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace chromeos | 243 } // namespace chromeos |
| 244 | 244 |
| 245 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 245 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| OLD | NEW |