Chromium Code Reviews| 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 // ChromeUserManagerInterface implementation: |
| 67 MultiProfileUserController* GetMultiProfileUserController() override; | 67 virtual MultiProfileUserController* GetMultiProfileUserController() override; |
|
Nikita (slow)
2015/01/20 18:18:22
nit: you don't need virtual here and below.
ygorshenin1
2015/01/20 18:33:40
Could you please remove virtual keywords here? The
merkulova
2015/01/21 14:10:33
Done.
merkulova
2015/01/21 14:10:33
Done.
| |
| 68 UserImageManager* GetUserImageManager(const std::string& user_id) override; | 68 virtual UserImageManager* GetUserImageManager( |
| 69 SupervisedUserManager* GetSupervisedUserManager() override; | 69 const std::string& user_id) override; |
| 70 UserFlow* GetCurrentUserFlow() const override; | 70 virtual SupervisedUserManager* GetSupervisedUserManager() override; |
| 71 UserFlow* GetUserFlow(const std::string& user_id) const override; | 71 virtual UserFlow* GetCurrentUserFlow() const override; |
| 72 void SetUserFlow(const std::string& user_id, UserFlow* flow) override; | 72 virtual UserFlow* GetUserFlow(const std::string& user_id) const override; |
| 73 void ResetUserFlow(const std::string& user_id) override; | 73 virtual void SetUserFlow(const std::string& user_id, UserFlow* flow) override; |
| 74 virtual void ResetUserFlow(const std::string& user_id) override; | |
| 74 | 75 |
| 75 // UserManager implementation: | 76 // UserManager implementation: |
| 76 void Shutdown() override; | 77 void Shutdown() override; |
| 77 user_manager::UserList GetUsersAllowedForMultiProfile() const override; | 78 user_manager::UserList GetUsersAllowedForMultiProfile() const override; |
| 78 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() | 79 user_manager::UserList GetUsersAllowedForSupervisedUsersCreation() |
| 79 const override; | 80 const override; |
| 80 user_manager::UserList GetUnlockUsers() const override; | 81 user_manager::UserList GetUnlockUsers() const override; |
| 81 void SessionStarted() override; | 82 void SessionStarted() override; |
| 82 void SaveUserOAuthStatus( | 83 void SaveUserOAuthStatus( |
| 83 const std::string& user_id, | 84 const std::string& user_id, |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 232 wallpaper_policy_observer_; | 233 wallpaper_policy_observer_; |
| 233 | 234 |
| 234 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; | 235 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; |
| 235 | 236 |
| 236 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); | 237 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); |
| 237 }; | 238 }; |
| 238 | 239 |
| 239 } // namespace chromeos | 240 } // namespace chromeos |
| 240 | 241 |
| 241 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 242 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| OLD | NEW |