| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 const std::string& user_email, | 147 const std::string& user_email, |
| 148 const AffiliationIDSet& user_affiliation_ids) override; | 148 const AffiliationIDSet& user_affiliation_ids) override; |
| 149 | 149 |
| 150 protected: | 150 protected: |
| 151 const std::string& GetApplicationLocale() const override; | 151 const std::string& GetApplicationLocale() const override; |
| 152 PrefService* GetLocalState() const override; | 152 PrefService* GetLocalState() const override; |
| 153 void HandleUserOAuthTokenStatusChange( | 153 void HandleUserOAuthTokenStatusChange( |
| 154 const AccountId& account_id, | 154 const AccountId& account_id, |
| 155 user_manager::User::OAuthTokenStatus status) const override; | 155 user_manager::User::OAuthTokenStatus status) const override; |
| 156 bool IsEnterpriseManaged() const override; | 156 bool IsEnterpriseManaged() const override; |
| 157 void LoadPublicAccounts(std::set<AccountId>* users_set) override; | 157 void LoadDeviceLocalAccounts(std::set<AccountId>* users_set) override; |
| 158 void NotifyOnLogin() override; | 158 void NotifyOnLogin() override; |
| 159 void NotifyUserAddedToSession(const user_manager::User* added_user, | 159 void NotifyUserAddedToSession(const user_manager::User* added_user, |
| 160 bool user_switch_pending) override; | 160 bool user_switch_pending) override; |
| 161 void PerformPreUserListLoadingActions() override; | 161 void PerformPreUserListLoadingActions() override; |
| 162 void PerformPostUserListLoadingActions() override; | 162 void PerformPostUserListLoadingActions() override; |
| 163 void PerformPostUserLoggedInActions(bool browser_restart) override; | 163 void PerformPostUserLoggedInActions(bool browser_restart) override; |
| 164 void RemoveNonCryptohomeData(const AccountId& account_id) override; | 164 void RemoveNonCryptohomeData(const AccountId& account_id) override; |
| 165 void RemoveUserInternal(const AccountId& account_id, | 165 void RemoveUserInternal(const AccountId& account_id, |
| 166 user_manager::RemoveUserDelegate* delegate) override; | 166 user_manager::RemoveUserDelegate* delegate) override; |
| 167 bool IsDemoApp(const AccountId& account_id) const override; | 167 bool IsDemoApp(const AccountId& account_id) const override; |
| 168 bool IsKioskApp(const AccountId& account_id) const override; | |
| 169 bool IsPublicAccountMarkedForRemoval( | 168 bool IsPublicAccountMarkedForRemoval( |
| 170 const AccountId& account_id) const override; | 169 const AccountId& account_id) const override; |
| 171 void DemoAccountLoggedIn() override; | 170 void DemoAccountLoggedIn() override; |
| 172 void GuestUserLoggedIn() override; | 171 void GuestUserLoggedIn() override; |
| 173 void KioskAppLoggedIn(const AccountId& kiosk_app_account_id) override; | 172 void KioskAppLoggedIn(user_manager::User* user) override; |
| 174 void PublicAccountUserLoggedIn(user_manager::User* user) override; | 173 void PublicAccountUserLoggedIn(user_manager::User* user) override; |
| 175 void RegularUserLoggedIn(const AccountId& account_id) override; | 174 void RegularUserLoggedIn(const AccountId& account_id) override; |
| 176 void RegularUserLoggedInAsEphemeral(const AccountId& account_id) override; | 175 void RegularUserLoggedInAsEphemeral(const AccountId& account_id) override; |
| 177 void SupervisedUserLoggedIn(const AccountId& account_id) override; | 176 void SupervisedUserLoggedIn(const AccountId& account_id) override; |
| 178 bool HasPendingBootstrap(const AccountId& account_id) const override; | 177 bool HasPendingBootstrap(const AccountId& account_id) const override; |
| 179 | 178 |
| 180 private: | 179 private: |
| 181 friend class SupervisedUserManagerImpl; | 180 friend class SupervisedUserManagerImpl; |
| 182 friend class UserManagerTest; | 181 friend class UserManagerTest; |
| 183 friend class WallpaperManager; | 182 friend class WallpaperManager; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 scoped_ptr<BootstrapManager> bootstrap_manager_; | 283 scoped_ptr<BootstrapManager> bootstrap_manager_; |
| 285 | 284 |
| 286 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; | 285 base::WeakPtrFactory<ChromeUserManagerImpl> weak_factory_; |
| 287 | 286 |
| 288 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); | 287 DISALLOW_COPY_AND_ASSIGN(ChromeUserManagerImpl); |
| 289 }; | 288 }; |
| 290 | 289 |
| 291 } // namespace chromeos | 290 } // namespace chromeos |
| 292 | 291 |
| 293 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ | 292 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_CHROME_USER_MANAGER_IMPL_H_ |
| OLD | NEW |