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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual User& GetLoggedInUser() OVERRIDE; | 53 virtual User& GetLoggedInUser() OVERRIDE; |
54 virtual bool IsDisplayNameUnique( | 54 virtual bool IsDisplayNameUnique( |
55 const std::string& display_name) const OVERRIDE; | 55 const std::string& display_name) const OVERRIDE; |
56 virtual void SaveUserOAuthStatus( | 56 virtual void SaveUserOAuthStatus( |
57 const std::string& username, | 57 const std::string& username, |
58 User::OAuthTokenStatus oauth_token_status) OVERRIDE; | 58 User::OAuthTokenStatus oauth_token_status) OVERRIDE; |
59 virtual void SaveUserDisplayEmail(const std::string& username, | 59 virtual void SaveUserDisplayEmail(const std::string& username, |
60 const std::string& display_email) OVERRIDE; | 60 const std::string& display_email) OVERRIDE; |
61 virtual std::string GetUserDisplayEmail( | 61 virtual std::string GetUserDisplayEmail( |
62 const std::string& username) const OVERRIDE; | 62 const std::string& username) const OVERRIDE; |
| 63 virtual int GetUserWallpaper(const std::string& username) OVERRIDE; |
| 64 virtual void SaveWallpaperDefaultIndex(const std::string& username, |
| 65 int wallpaper_index) OVERRIDE; |
63 virtual void SaveUserDefaultImageIndex(const std::string& username, | 66 virtual void SaveUserDefaultImageIndex(const std::string& username, |
64 int image_index) OVERRIDE; | 67 int image_index) OVERRIDE; |
65 virtual void SaveUserImage(const std::string& username, | 68 virtual void SaveUserImage(const std::string& username, |
66 const SkBitmap& image) OVERRIDE; | 69 const SkBitmap& image) OVERRIDE; |
67 virtual void SaveUserImageFromFile(const std::string& username, | 70 virtual void SaveUserImageFromFile(const std::string& username, |
68 const FilePath& path) OVERRIDE; | 71 const FilePath& path) OVERRIDE; |
69 virtual void SaveUserImageFromProfileImage( | 72 virtual void SaveUserImageFromProfileImage( |
70 const std::string& username) OVERRIDE; | 73 const std::string& username) OVERRIDE; |
71 virtual void DownloadProfileImage(const std::string& reason) OVERRIDE; | 74 virtual void DownloadProfileImage(const std::string& reason) OVERRIDE; |
72 virtual bool IsCurrentUserOwner() const OVERRIDE; | 75 virtual bool IsCurrentUserOwner() const OVERRIDE; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 275 |
273 // Data URL for |downloaded_profile_image_|. | 276 // Data URL for |downloaded_profile_image_|. |
274 std::string downloaded_profile_image_data_url_; | 277 std::string downloaded_profile_image_data_url_; |
275 | 278 |
276 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 279 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
277 }; | 280 }; |
278 | 281 |
279 } // namespace chromeos | 282 } // namespace chromeos |
280 | 283 |
281 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 284 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
OLD | NEW |