| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual bool IsCurrentUserNew() const OVERRIDE; | 74 virtual bool IsCurrentUserNew() const OVERRIDE; |
| 75 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE; | 75 virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const OVERRIDE; |
| 76 virtual bool CanCurrentUserLock() const OVERRIDE; | 76 virtual bool CanCurrentUserLock() const OVERRIDE; |
| 77 virtual bool IsUserLoggedIn() const OVERRIDE; | 77 virtual bool IsUserLoggedIn() const OVERRIDE; |
| 78 virtual bool IsLoggedInAsRegularUser() const OVERRIDE; | 78 virtual bool IsLoggedInAsRegularUser() const OVERRIDE; |
| 79 virtual bool IsLoggedInAsDemoUser() const OVERRIDE; | 79 virtual bool IsLoggedInAsDemoUser() const OVERRIDE; |
| 80 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE; | 80 virtual bool IsLoggedInAsPublicAccount() const OVERRIDE; |
| 81 virtual bool IsLoggedInAsGuest() const OVERRIDE; | 81 virtual bool IsLoggedInAsGuest() const OVERRIDE; |
| 82 virtual bool IsLoggedInAsStub() const OVERRIDE; | 82 virtual bool IsLoggedInAsStub() const OVERRIDE; |
| 83 virtual bool IsSessionStarted() const OVERRIDE; | 83 virtual bool IsSessionStarted() const OVERRIDE; |
| 84 virtual bool HasBrowserRestarted() const OVERRIDE; |
| 84 virtual bool IsUserNonCryptohomeDataEphemeral( | 85 virtual bool IsUserNonCryptohomeDataEphemeral( |
| 85 const std::string& email) const OVERRIDE; | 86 const std::string& email) const OVERRIDE; |
| 86 virtual void AddObserver(UserManager::Observer* obs) OVERRIDE; | 87 virtual void AddObserver(UserManager::Observer* obs) OVERRIDE; |
| 87 virtual void RemoveObserver(UserManager::Observer* obs) OVERRIDE; | 88 virtual void RemoveObserver(UserManager::Observer* obs) OVERRIDE; |
| 88 virtual void NotifyLocalStateChanged() OVERRIDE; | 89 virtual void NotifyLocalStateChanged() OVERRIDE; |
| 89 | 90 |
| 90 // content::NotificationObserver implementation. | 91 // content::NotificationObserver implementation. |
| 91 virtual void Observe(int type, | 92 virtual void Observe(int type, |
| 92 const content::NotificationSource& source, | 93 const content::NotificationSource& source, |
| 93 const content::NotificationDetails& details) OVERRIDE; | 94 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 209 |
| 209 // User avatar manager. | 210 // User avatar manager. |
| 210 scoped_ptr<UserImageManagerImpl> user_image_manager_; | 211 scoped_ptr<UserImageManagerImpl> user_image_manager_; |
| 211 | 212 |
| 212 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 213 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 } // namespace chromeos | 216 } // namespace chromeos |
| 216 | 217 |
| 217 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 218 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |