#ifndef CONTENT_BROWSER_BACKGROUND_FETCH_STORAGE_IMAGE_HELPERS_H_
#define CONTENT_BROWSER_BACKGROUND_FETCH_STORAGE_IMAGE_HELPERS_H_
#include <memory>
#include <string>
#include "base/functional/callback_forward.h"
#include "content/common/content_export.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace content {
namespace background_fetch {
SerializeIconCallback;
DeserializeIconCallback;
CONTENT_EXPORT bool ShouldPersistIcon(const SkBitmap& icon);
CONTENT_EXPORT void SerializeIcon(const SkBitmap& icon,
SerializeIconCallback callback);
CONTENT_EXPORT void DeserializeIcon(
std::unique_ptr<std::string> serialized_icon,
DeserializeIconCallback callback);
}
}
#endif