| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 class UserManagerImpl : public UserManager, | 37 class UserManagerImpl : public UserManager, |
| 38 public ProfileDownloaderDelegate, | 38 public ProfileDownloaderDelegate, |
| 39 public ProfileSyncServiceObserver, | 39 public ProfileSyncServiceObserver, |
| 40 public content::NotificationObserver { | 40 public content::NotificationObserver { |
| 41 public: | 41 public: |
| 42 // UserManager implementation: | 42 // UserManager implementation: |
| 43 virtual const UserList& GetUsers() const OVERRIDE; | 43 virtual const UserList& GetUsers() const OVERRIDE; |
| 44 virtual void UserLoggedIn(const std::string& email) OVERRIDE; | 44 virtual void UserLoggedIn(const std::string& email) OVERRIDE; |
| 45 virtual void DemoUserLoggedIn() OVERRIDE; | 45 virtual void DemoUserLoggedIn() OVERRIDE; |
| 46 virtual void GuestUserLoggedIn() OVERRIDE; | 46 virtual void GuestUserLoggedIn() OVERRIDE; |
| 47 virtual void EphemeralUserLoggedIn(const std::string& email) OVERRIDE; |
| 47 virtual void RemoveUser(const std::string& email, | 48 virtual void RemoveUser(const std::string& email, |
| 48 RemoveUserDelegate* delegate) OVERRIDE; | 49 RemoveUserDelegate* delegate) OVERRIDE; |
| 49 virtual void RemoveUserFromList(const std::string& email) OVERRIDE; | 50 virtual void RemoveUserFromList(const std::string& email) OVERRIDE; |
| 50 virtual bool IsKnownUser(const std::string& email) const OVERRIDE; | 51 virtual bool IsKnownUser(const std::string& email) const OVERRIDE; |
| 51 virtual const User* FindUser(const std::string& email) const OVERRIDE; | 52 virtual const User* FindUser(const std::string& email) const OVERRIDE; |
| 52 virtual const User& GetLoggedInUser() const OVERRIDE; | 53 virtual const User& GetLoggedInUser() const OVERRIDE; |
| 53 virtual User& GetLoggedInUser() OVERRIDE; | 54 virtual User& GetLoggedInUser() OVERRIDE; |
| 54 virtual bool IsDisplayNameUnique( | 55 virtual bool IsDisplayNameUnique( |
| 55 const std::string& display_name) const OVERRIDE; | 56 const std::string& display_name) const OVERRIDE; |
| 56 virtual void SaveUserOAuthStatus( | 57 virtual void SaveUserOAuthStatus( |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 | 273 |
| 273 // Data URL for |downloaded_profile_image_|. | 274 // Data URL for |downloaded_profile_image_|. |
| 274 std::string downloaded_profile_image_data_url_; | 275 std::string downloaded_profile_image_data_url_; |
| 275 | 276 |
| 276 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 277 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
| 277 }; | 278 }; |
| 278 | 279 |
| 279 } // namespace chromeos | 280 } // namespace chromeos |
| 280 | 281 |
| 281 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 282 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
| OLD | NEW |