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 c9b7cac9ae081191e5f15fe38aa223997e068c02..028e45f60cb316c9163cddabc31f65a3e8df46bf 100644 |
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
@@ -298,6 +298,8 @@ WallpaperPrivateSetWallpaperIfExistsFunction:: |
~WallpaperPrivateSetWallpaperIfExistsFunction() {} |
bool WallpaperPrivateSetWallpaperIfExistsFunction::RunAsync() { |
+#if !defined(USE_ATHENA) |
+ // TODO(bshe): Support wallpaper manager in Athena, crbug.com/408734. |
params = set_wallpaper_if_exists::Params::Create(*args_); |
EXTENSION_FUNCTION_VALIDATE(params); |
@@ -331,6 +333,7 @@ bool WallpaperPrivateSetWallpaperIfExistsFunction::RunAsync() { |
&WallpaperPrivateSetWallpaperIfExistsFunction:: |
ReadFileAndInitiateStartDecode, |
this, wallpaper_path, fallback_path)); |
+#endif |
return true; |
} |