| Index: chrome/browser/chromeos/login/user_manager.h
|
| diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
|
| index cf27eafda1419509c69a82530c2d5993054bf4bd..dad55c9d08a4f5dd65325770b3af1f8427dd2f22 100644
|
| --- a/chrome/browser/chromeos/login/user_manager.h
|
| +++ b/chrome/browser/chromeos/login/user_manager.h
|
| @@ -37,6 +37,9 @@ class UserManager {
|
| // A vector pref of the users who have logged into the device.
|
| static const char kLoggedInUsers[];
|
|
|
| + // A dictionary that maps usernames to file paths to their wallpapers.
|
| + static const char kUserWallpapers[];
|
| +
|
| // A dictionary that maps usernames to file paths to their images.
|
| static const char kUserImages[];
|
|
|
| @@ -111,6 +114,17 @@ class UserManager {
|
| virtual std::string GetUserDisplayEmail(
|
| const std::string& username) const = 0;
|
|
|
| + // Returns the index of the default wallpapers saved in local state for user
|
| + // |username| if it is known (was previousely set by
|
| + // |SaveWallpaperToLocalState| call).
|
| + // Otherwise, returns default wallpaper index.
|
| + virtual int GetUserWallpaper(const std::string& username) = 0;
|
| +
|
| + // Sets user wallpaper to the default wallpaper with index |wallpaper_index|,
|
| + // sends DESKTOP_BACKGROUND_CHANGED notification and updates Local State.
|
| + virtual void SaveWallpaperDefaultIndex(const std::string& username,
|
| + int wallpaper_index) = 0;
|
| +
|
| // Sets user image to the default image with index |image_index|, sends
|
| // LOGIN_USER_IMAGE_CHANGED notification and updates Local State.
|
| virtual void SaveUserDefaultImageIndex(const std::string& username,
|
|
|