| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 public ProfileSyncServiceObserver, | 43 public ProfileSyncServiceObserver, |
| 44 public content::NotificationObserver, | 44 public content::NotificationObserver, |
| 45 public policy::DeviceLocalAccountPolicyService::Observer { | 45 public policy::DeviceLocalAccountPolicyService::Observer { |
| 46 public: | 46 public: |
| 47 virtual ~UserManagerImpl(); | 47 virtual ~UserManagerImpl(); |
| 48 | 48 |
| 49 // UserManager implementation: | 49 // UserManager implementation: |
| 50 virtual void Shutdown() OVERRIDE; | 50 virtual void Shutdown() OVERRIDE; |
| 51 virtual UserImageManager* GetUserImageManager() OVERRIDE; | 51 virtual UserImageManager* GetUserImageManager() OVERRIDE; |
| 52 virtual const UserList& GetUsers() const OVERRIDE; | 52 virtual const UserList& GetUsers() const OVERRIDE; |
| 53 virtual UserList GetUsersAdmittedForMultiProfile() const OVERRIDE; |
| 53 virtual const UserList& GetLoggedInUsers() const OVERRIDE; | 54 virtual const UserList& GetLoggedInUsers() const OVERRIDE; |
| 54 virtual const UserList& GetLRULoggedInUsers() OVERRIDE; | 55 virtual const UserList& GetLRULoggedInUsers() OVERRIDE; |
| 55 virtual void UserLoggedIn(const std::string& email, | 56 virtual void UserLoggedIn(const std::string& email, |
| 56 const std::string& username_hash, | 57 const std::string& username_hash, |
| 57 bool browser_restart) OVERRIDE; | 58 bool browser_restart) OVERRIDE; |
| 58 virtual void SwitchActiveUser(const std::string& email) OVERRIDE; | 59 virtual void SwitchActiveUser(const std::string& email) OVERRIDE; |
| 59 virtual void RestoreActiveSessions() OVERRIDE; | 60 virtual void RestoreActiveSessions() OVERRIDE; |
| 60 virtual void SessionStarted() OVERRIDE; | 61 virtual void SessionStarted() OVERRIDE; |
| 61 virtual void RemoveUser(const std::string& email, | 62 virtual void RemoveUser(const std::string& email, |
| 62 RemoveUserDelegate* delegate) OVERRIDE; | 63 RemoveUserDelegate* delegate) OVERRIDE; |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 | 368 |
| 368 // Specific flows by user e-mail. | 369 // Specific flows by user e-mail. |
| 369 FlowMap specific_flows_; | 370 FlowMap specific_flows_; |
| 370 | 371 |
| 371 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 372 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 372 }; | 373 }; |
| 373 | 374 |
| 374 } // namespace chromeos | 375 } // namespace chromeos |
| 375 | 376 |
| 376 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 377 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |