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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.cc

Issue 208273005: If customization includes default wallpaper, download and apply it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after-review. Created 6 years, 9 months 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/extensions/wallpaper_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
index fa4c567d0b084d38aa34efcf51a8b9f4a32d8fb6..64c33a08acb25f65dcea81e76d8a2bb8da775e73 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
@@ -445,7 +445,8 @@ void WallpaperPrivateSetWallpaperFunction::SaveToFile() {
file_path,
ash::WALLPAPER_LAYOUT_CENTER_CROPPED,
ash::kSmallWallpaperMaxWidth,
- ash::kSmallWallpaperMaxHeight);
+ ash::kSmallWallpaperMaxHeight,
+ NULL);
} else {
std::string error = base::StringPrintf(
"Failed to create/write wallpaper to %s.", file_name.c_str());
@@ -588,7 +589,8 @@ void WallpaperPrivateSetCustomWallpaperFunction::GenerateThumbnail(
ash::WALLPAPER_LAYOUT_STRETCH,
ash::kWallpaperThumbnailWidth,
ash::kWallpaperThumbnailHeight,
- &data);
+ &data,
+ NULL);
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(
« no previous file with comments | « chrome/browser/chromeos/extensions/wallpaper_api.cc ('k') | chrome/browser/chromeos/login/login_location_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698