#include "chrome/browser/notifications/scheduler/internal/png_icon_converter_impl.h"
#include <memory>
#include <utility>
#include "base/base64.h"
#include "base/task/thread_pool.h"
#include "base/threading/thread_restrictions.h"
#include "chrome/browser/notifications/scheduler/internal/icon_entry.h"
#include "ui/gfx/codec/png_codec.h"
namespace notifications {
namespace {
std::unique_ptr<EncodeResult> ConvertIconToStringInternal(
std::vector<SkBitmap> images) { … }
std::unique_ptr<DecodeResult> ConvertStringToIconInternal(
std::vector<std::string> encoded_data) { … }
}
PngIconConverterImpl::PngIconConverterImpl() = default;
PngIconConverterImpl::~PngIconConverterImpl() = default;
void PngIconConverterImpl::ConvertIconToString(std::vector<SkBitmap> images,
EncodeCallback callback) { … }
void PngIconConverterImpl::ConvertStringToIcon(
std::vector<std::string> encoded_data,
DecodeCallback callback) { … }
}