#include "components/paint_preview/common/proto_validator.h"
namespace paint_preview {
namespace {
bool RectProtoValid(const RectProto& rect) { … }
bool LinkDataProtoValid(const LinkDataProto& link_data) { … }
bool ContentIdEmbeddingTokenPairProtoValid(
const ContentIdEmbeddingTokenPairProto& content_id_embedding_token_pair) { … }
bool PaintPreviewFrameProtoValid(
const PaintPreviewFrameProto& paint_preview_frame) { … }
bool MetadataProtoValid(const MetadataProto& metadata) { … }
}
bool PaintPreviewProtoValid(const PaintPreviewProto& paint_preview) { … }
}