virtual ~WallpaperPrivateGetStringsFunction() {}
// SyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunSync() OVERRIDE;
};
class WallpaperPrivateSetWallpaperIfExistsFunction
virtual ~WallpaperPrivateSetWallpaperIfExistsFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
- virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
+ virtual void OnWallpaperDecoded(const gfx::ImageSkia& image) OVERRIDE;
// File doesn't exist. Sets javascript callback parameter to false.
void OnFileNotExists(const std::string& error);
virtual ~WallpaperPrivateSetWallpaperFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
- virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
+ virtual void OnWallpaperDecoded(const gfx::ImageSkia& image) OVERRIDE;
// Saves the image data to a file.
void SaveToFile();
// Sets wallpaper to the decoded image.
- void SetDecodedWallpaper(scoped_ptr<gfx::ImageSkia> wallpaper);
+ void SetDecodedWallpaper(scoped_ptr<gfx::ImageSkia> image);
scoped_ptr<extensions::api::wallpaper_private::SetWallpaper::Params> params;
virtual ~WallpaperPrivateResetWallpaperFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
};
class WallpaperPrivateSetCustomWallpaperFunction
virtual ~WallpaperPrivateSetCustomWallpaperFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
virtual ~WallpaperPrivateSetCustomWallpaperLayoutFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
};
class WallpaperPrivateMinimizeInactiveWindowsFunction
virtual ~WallpaperPrivateMinimizeInactiveWindowsFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
};
class WallpaperPrivateRestoreMinimizedWindowsFunction
virtual ~WallpaperPrivateRestoreMinimizedWindowsFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
};
class WallpaperPrivateGetThumbnailFunction : public AsyncExtensionFunction {
virtual ~WallpaperPrivateGetThumbnailFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Failed to get thumbnail for |file_name|.
virtual ~WallpaperPrivateSaveThumbnailFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Failed to save thumbnail for |file_name|.
virtual ~WallpaperPrivateGetOfflineWallpaperListFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Enumerates the list of files in online wallpaper directory.