chromium/cc/paint/skottie_transfer_cache_entry.h

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

#ifndef CC_PAINT_SKOTTIE_TRANSFER_CACHE_ENTRY_H_
#define CC_PAINT_SKOTTIE_TRANSFER_CACHE_ENTRY_H_

#include "base/containers/span.h"
#include "base/memory/ref_counted_memory.h"
#include "cc/paint/transfer_cache_entry.h"

namespace cc {

class SkottieWrapper;

// Client/ServiceSkottieTransferCacheEntry implements a transfer cache entry
// for transferring skottie data.
class CC_PAINT_EXPORT ClientSkottieTransferCacheEntry final
    : public ClientTransferCacheEntryBase<TransferCacheEntryType::kSkottie> {};

class CC_PAINT_EXPORT ServiceSkottieTransferCacheEntry final
    : public ServiceTransferCacheEntryBase<TransferCacheEntryType::kSkottie> {};

}  // namespace cc

#endif  // CC_PAINT_SKOTTIE_TRANSFER_CACHE_ENTRY_H_