#include "gpu/command_buffer/service/service_transfer_cache.h"
#include "base/test/bind.h"
#include "base/time/time_override.h"
#include "cc/paint/raw_memory_transfer_cache_entry.h"
#include "gpu/config/gpu_preferences.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu {
constexpr int kDecoderId = …;
constexpr auto kEntryType = …;
std::unique_ptr<cc::ServiceTransferCacheEntry> CreateEntry(size_t size) { … }
TEST(ServiceTransferCacheTest, EnforcesOnPurgeMemory) { … }
TEST(ServiceTransferCache, MultipleDecoderUse) { … }
TEST(ServiceTransferCache, DeleteEntriesForDecoder) { … }
TEST(ServiceTransferCacheTest, PurgeEntryOnTimer) { … }
}