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 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual bool HasBrowserRestarted() const OVERRIDE; | 92 virtual bool HasBrowserRestarted() const OVERRIDE; |
93 virtual bool IsUserNonCryptohomeDataEphemeral( | 93 virtual bool IsUserNonCryptohomeDataEphemeral( |
94 const std::string& email) const OVERRIDE; | 94 const std::string& email) const OVERRIDE; |
95 virtual void AddObserver(UserManager::Observer* obs) OVERRIDE; | 95 virtual void AddObserver(UserManager::Observer* obs) OVERRIDE; |
96 virtual void RemoveObserver(UserManager::Observer* obs) OVERRIDE; | 96 virtual void RemoveObserver(UserManager::Observer* obs) OVERRIDE; |
97 virtual void AddSessionStateObserver( | 97 virtual void AddSessionStateObserver( |
98 UserManager::UserSessionStateObserver* obs) OVERRIDE; | 98 UserManager::UserSessionStateObserver* obs) OVERRIDE; |
99 virtual void RemoveSessionStateObserver( | 99 virtual void RemoveSessionStateObserver( |
100 UserManager::UserSessionStateObserver* obs) OVERRIDE; | 100 UserManager::UserSessionStateObserver* obs) OVERRIDE; |
101 virtual void NotifyLocalStateChanged() OVERRIDE; | 101 virtual void NotifyLocalStateChanged() OVERRIDE; |
| 102 virtual std::string GetManagerForManagedUser( |
| 103 const std::string& managed_user_id) const OVERRIDE; |
102 virtual const User* CreateLocallyManagedUserRecord( | 104 virtual const User* CreateLocallyManagedUserRecord( |
103 const std::string& e_mail, | 105 const std::string& e_mail, |
104 const string16& display_name) OVERRIDE; | 106 const string16& display_name) OVERRIDE; |
105 virtual std::string GenerateUniqueLocallyManagedUserId() OVERRIDE; | 107 virtual std::string GenerateUniqueLocallyManagedUserId() OVERRIDE; |
106 virtual void StartLocallyManagedUserCreationTransaction( | 108 virtual void StartLocallyManagedUserCreationTransaction( |
107 const string16& display_name) OVERRIDE; | 109 const string16& display_name) OVERRIDE; |
108 virtual void SetLocallyManagedUserCreationTransactionUserId( | 110 virtual void SetLocallyManagedUserCreationTransactionUserId( |
109 const std::string& email) OVERRIDE; | 111 const std::string& email) OVERRIDE; |
110 virtual void CommitLocallyManagedUserCreationTransaction() OVERRIDE; | 112 virtual void CommitLocallyManagedUserCreationTransaction() OVERRIDE; |
111 | 113 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 | 333 |
332 // Specific flows by user e-mail. | 334 // Specific flows by user e-mail. |
333 FlowMap specific_flows_; | 335 FlowMap specific_flows_; |
334 | 336 |
335 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 337 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
336 }; | 338 }; |
337 | 339 |
338 } // namespace chromeos | 340 } // namespace chromeos |
339 | 341 |
340 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 342 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
OLD | NEW |