| Index: chrome/browser/chromeos/login/wallpaper_manager.h
|
| diff --git a/chrome/browser/chromeos/login/wallpaper_manager.h b/chrome/browser/chromeos/login/wallpaper_manager.h
|
| index c7b75c755dddab583d6878f2a0270b7c16eaca01..882bcc479db16f7bc0130fc4670a926c6e52a01d 100644
|
| --- a/chrome/browser/chromeos/login/wallpaper_manager.h
|
| +++ b/chrome/browser/chromeos/login/wallpaper_manager.h
|
| @@ -128,6 +128,14 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
|
| void RemoveUserWallpaperInfo(const std::string& email);
|
|
|
| // Resizes |wallpaper| to a resolution which is nearest to |preferred_width|
|
| + // and |preferred_height| while maintaining aspect ratio.
|
| + bool ResizeWallpaper(const UserImage& wallpaper,
|
| + ash::WallpaperLayout layout,
|
| + int preferred_width,
|
| + int preferred_height,
|
| + scoped_refptr<base::RefCountedBytes>* output);
|
| +
|
| + // Resizes |wallpaper| to a resolution which is nearest to |preferred_width|
|
| // and |preferred_height| while maintaining aspect ratio. And saves the
|
| // resized wallpaper to |path|.
|
| void ResizeAndSaveWallpaper(const UserImage& wallpaper,
|
| @@ -205,6 +213,9 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
|
| // Clears all obsolete wallpaper prefs from old version wallpaper pickers.
|
| void ClearObsoleteWallpaperPrefs();
|
|
|
| + // Deletes everything else except |path| in the same directory.
|
| + void DeleteAllExcept(const base::FilePath& path);
|
| +
|
| // Deletes a list of wallpaper files in |file_list|.
|
| void DeleteWallpaperInList(const std::vector<base::FilePath>& file_list);
|
|
|
|
|