#ifndef CC_TILES_IMAGE_DECODE_CACHE_UTILS_H_
#define CC_TILES_IMAGE_DECODE_CACHE_UTILS_H_
#include "base/memory/memory_pressure_listener.h"
#include "build/build_config.h"
#include "cc/cc_export.h"
#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkPixmap.h"
namespace cc {
class CC_EXPORT ImageDecodeCacheUtils {
public:
static bool ShouldEvictCaches(
base::MemoryPressureLevel memory_pressure_level);
static size_t GetWorkingSetBytesForImageDecode(bool for_renderer);
};
}
#endif