#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_TEST_UTIL_H_
#define NET_DISK_CACHE_SIMPLE_SIMPLE_TEST_UTIL_H_
#include <stddef.h>
#include <string>
#include "base/functional/callback.h"
namespace base {
class FilePath;
}
namespace disk_cache::simple_util {
template <typename T, size_t Size>
class ImmutableArray { … };
bool CreateCorruptFileForTests(const std::string& key,
const base::FilePath& cache_path);
bool RemoveKeySHA256FromEntry(const std::string& key,
const base::FilePath& cache_path);
bool CorruptKeySHA256FromEntry(const std::string& key,
const base::FilePath& cache_path);
bool CorruptStream0LengthFromEntry(const std::string& key,
const base::FilePath& cache_path);
}
#endif