#include "chrome/browser/search/background/ntp_background_data.h"
namespace {
constexpr char kThumbnailImageOptions[] = …;
}
std::string GetThumbnailImageOptions() { … }
GURL AddOptionsToImageURL(const std::string& image_url,
const std::string& image_options) { … }
CollectionInfo::CollectionInfo() = default;
CollectionInfo::CollectionInfo(const CollectionInfo&) = default;
CollectionInfo::CollectionInfo(CollectionInfo&&) = default;
CollectionInfo::~CollectionInfo() = default;
CollectionInfo& CollectionInfo::operator=(const CollectionInfo&) = default;
CollectionInfo& CollectionInfo::operator=(CollectionInfo&&) = default;
bool operator==(const CollectionInfo& lhs, const CollectionInfo& rhs) { … }
bool operator!=(const CollectionInfo& lhs, const CollectionInfo& rhs) { … }
CollectionInfo CollectionInfo::CreateFromProto(
const ntp::background::Collection& collection,
std::optional<GURL> preview_image_url) { … }
CollectionImage::CollectionImage() = default;
CollectionImage::CollectionImage(const CollectionImage&) = default;
CollectionImage::CollectionImage(CollectionImage&&) = default;
CollectionImage::~CollectionImage() = default;
CollectionImage& CollectionImage::operator=(const CollectionImage&) = default;
CollectionImage& CollectionImage::operator=(CollectionImage&&) = default;
bool operator==(const CollectionImage& lhs, const CollectionImage& rhs) { … }
bool operator!=(const CollectionImage& lhs, const CollectionImage& rhs) { … }
CollectionImage CollectionImage::CreateFromProto(
const std::string& collection_id,
const ntp::background::Image& image,
const GURL& default_image_url,
const GURL& thumbnail_image_url) { … }
ErrorInfo::ErrorInfo() : … { … }
ErrorInfo::ErrorInfo(const ErrorInfo&) = default;
ErrorInfo::ErrorInfo(ErrorInfo&&) = default;
ErrorInfo::~ErrorInfo() = default;
ErrorInfo& ErrorInfo::operator=(const ErrorInfo&) = default;
ErrorInfo& ErrorInfo::operator=(ErrorInfo&&) = default;
void ErrorInfo::ClearError() { … }
CustomBackground::CustomBackground() = default;
CustomBackground::CustomBackground(const CustomBackground&) = default;
CustomBackground::CustomBackground(CustomBackground&&) = default;
CustomBackground::~CustomBackground() = default;
CustomBackground& CustomBackground::operator=(const CustomBackground&) =
default;
CustomBackground& CustomBackground::operator=(CustomBackground&&) = default;