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 7e9f6d14191b5d700201d6873edb05ff990a41e4..c5f46cc4bac8cc9920ee52f8702996f26cadc874 100644 |
--- a/chrome/browser/chromeos/login/user_manager.h |
+++ b/chrome/browser/chromeos/login/user_manager.h |
@@ -11,6 +11,7 @@ |
#include "ash/desktop_background/desktop_background_resources.h" |
#include "base/memory/singleton.h" |
#include "chrome/browser/chromeos/login/user.h" |
+#include "chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h" |
class SkBitmap; |
class FilePath; |
@@ -175,11 +176,23 @@ class UserManager { |
virtual void SaveUserImage(const std::string& username, |
const SkBitmap& image) = 0; |
+ // Update custom wallpaper to selected layout and saves layout to Local |
flackr
2012/05/09 21:26:16
s/Update/Updates
bshe
2012/05/10 16:10:26
Done.
|
+ // 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, |
+ WallpaperDelegate* delegate) = 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 |