Chromium Code Reviews| 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..bc4df224c1c27eb28e6308ed8573862771bdcd37 100644 |
| --- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h |
| +++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h |
| @@ -262,6 +262,14 @@ 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, |
|
bshe
2014/07/29 18:54:58
nit: indent is off
Thiemo Nagel
2014/07/30 13:29:25
Done.
|
| + 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. |