Index: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h |
diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h |
index cc764455fa3490df092aae233875a95c2a6f5089..86958bc50d60b326c3b13089b5f35d7b67975042 100644 |
--- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h |
+++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h |
@@ -262,6 +262,13 @@ class WallpaperManager: public content::NotificationObserver { |
// Removes all |user_id| related wallpaper info and saved wallpapers. |
void RemoveUserWallpaperInfo(const std::string& user_id); |
+ // Calls SetCustomWallpaper() with |user_id_hash| received from cryptohome. |
+ void SetCustomWallpaperOnSanitizedUsername(const std::string& user_id, |
+ const gfx::ImageSkia& image, |
+ bool update_wallpaper, |
+ bool cryptohome_success, |
+ const std::string& user_id_hash); |
+ |
// Saves custom wallpaper to file, post task to generate thumbnail and updates |
// local state preferences. If |update_wallpaper| is false, don't change |
// wallpaper but only update cache. |