/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkLRUCache_DEFINED #define SkLRUCache_DEFINED #include "src/base/SkTInternalLList.h" #include "src/core/SkChecksum.h" #include "src/core/SkTHash.h" /** * A generic LRU cache. */ template <typename K, typename V, typename HashK = SkGoodHash> class SkLRUCache { … }; #endif