#include "extensions/browser/computed_hashes.h"
#include "base/base64.h"
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "crypto/sha2.h"
#include "extensions/browser/content_verifier/content_verifier_utils.h"
#include "extensions/common/constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr bool kIsDotSpaceSuffixIgnored = …;
constexpr bool kIsFileAccessCaseInsensitive = …;
struct HashInfo { … };
testing::AssertionResult WriteThenReadComputedHashes(
const std::vector<HashInfo>& hash_infos,
extensions::ComputedHashes* result) { … }
}
namespace extensions {
TEST(ComputedHashesTest, ComputedHashes) { … }
TEST(ComputedHashesTest, GetHashesForContent) { … }
TEST(ComputedHashesTest, DotSpaceSuffix) { … }
}