Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3353)

Unified Diff: chrome/browser/chromeos/login/wallpaper_manager.h

Issue 11366143: Fix the crash in DesktopBackgroundView::OnPaint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oshima's review and rebase to TOT Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 35ad5b6d2df0d41f412f4bad662a775dbfe5e664..4fa2822598d2d18a79ae8e16b4facb36bb3bdd69 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.h
+++ b/chrome/browser/chromeos/login/wallpaper_manager.h
@@ -265,6 +265,15 @@ class WallpaperManager: public system::TimezoneSettings::Observer,
void OnWallpaperEncoded(const FilePath& path,
scoped_refptr<base::RefCountedBytes> data);
+ // Generates thumbnail of custom wallpaper on FILE thread. If |persistent| is
+ // true, saves original custom image and resized images to disk.
+ void ProcessCustomWallpaper(const std::string& email,
+ bool persistent,
+ const WallpaperInfo& info,
+ base::WeakPtr<WallpaperDelegate> delegate,
+ scoped_ptr<gfx::ImageSkia> image,
+ const UserImage::RawImage& raw_image);
+
// Record data for User Metrics Analysis.
void RecordUma(User::WallpaperType type, int index);
« no previous file with comments | « chrome/browser/chromeos/extensions/wallpaper_private_api.cc ('k') | chrome/browser/chromeos/login/wallpaper_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698