| 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 28681f0f2c3f5d6212cb94990beb7213b3669a52..18caa2b6eb3b1c259cf47ae9369892f71496f9c8 100644
|
| --- a/chrome/browser/chromeos/login/user_manager.h
|
| +++ b/chrome/browser/chromeos/login/user_manager.h
|
| @@ -136,16 +136,14 @@ 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|,
|
| - // updates Local State.
|
| - virtual void SaveWallpaperDefaultIndex(const std::string& username,
|
| - int wallpaper_index) = 0;
|
| + // Returns the index of the default wallpapers saved in local state for login
|
| + // user if it is known (was previousely set by |SaveWallpaperToLocalState|
|
| + // call). Otherwise, returns a randomly generated index.
|
| + virtual int GetUserWallpaperIndex() = 0;
|
| +
|
| + // Save the index |wallpaper_index| of the default wallpapers selected by
|
| + // current user to Local State.
|
| + virtual void SaveUserWallpaperIndex(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.
|
|
|