| 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 5e313889827afaf9061c6fa33a2ec1ae37ec3a32..c9b1ea979f0a1dd30359605e70fbaa7832659b5d 100644
|
| --- a/chrome/browser/chromeos/login/user_manager.h
|
| +++ b/chrome/browser/chromeos/login/user_manager.h
|
| @@ -168,11 +168,22 @@ class UserManager {
|
| virtual void SaveUserImage(const std::string& username,
|
| const SkBitmap& image) = 0;
|
|
|
| + // Update custom wallpaper to selected layout and saves layout to Local
|
| + // State.
|
| + virtual void SetLoggedInUserCustomWallpaperLayout(
|
| + ash::WallpaperLayout layout) = 0;
|
| +
|
| // Tries to load user image from disk; if successful, sets it for the user,
|
| // sends LOGIN_USER_IMAGE_CHANGED notification and updates Local State.
|
| virtual void SaveUserImageFromFile(const std::string& username,
|
| const FilePath& path) = 0;
|
|
|
| + // Tries to load user image from disk; if successful, sets it for the user,
|
| + // and updates Local State.
|
| + virtual void SaveUserWallpaperFromFile(const std::string& username,
|
| + const FilePath& path,
|
| + ash::WallpaperLayout layout) = 0;
|
| +
|
| // Sets profile image as user image for |username|, sends
|
| // LOGIN_USER_IMAGE_CHANGED notification and updates Local State. If the user
|
| // is not logged-in or the last |DownloadProfileImage| call has failed, a
|
|
|