chromium/cc/paint/skottie_resource_metadata.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/paint/skottie_resource_metadata.h"

#include <utility>

#include "base/check.h"
#include "base/hash/hash.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"

namespace cc {

SkottieResourceMetadataMap::ImageAssetMetadata::ImageAssetMetadata(
    base::FilePath resource_path_in,
    std::optional<gfx::Size> size_in)
    :{}

SkottieResourceMetadataMap::SkottieResourceMetadataMap() = default;

SkottieResourceMetadataMap::SkottieResourceMetadataMap(
    const SkottieResourceMetadataMap&) = default;

SkottieResourceMetadataMap& SkottieResourceMetadataMap::operator=(
    const SkottieResourceMetadataMap&) = default;

SkottieResourceMetadataMap::~SkottieResourceMetadataMap() = default;

bool SkottieResourceMetadataMap::RegisterAsset(std::string_view resource_path,
                                               std::string_view resource_name,
                                               std::string_view resource_id,
                                               std::optional<gfx::Size> size) {}

SkottieResourceIdHash HashSkottieResourceId(std::string_view resource_id) {}

}  // namespace cc