// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/browser/content_hash_tree.h" #include <memory> #include "crypto/secure_hash.h" #include "crypto/sha2.h" #include "testing/gtest/include/gtest/gtest.h" kSHA256Length; SecureHash; // Helper to return a fake sha256 signature based on a seed. static std::string FakeSignatureWithSeed(int seed) { … } namespace extensions { TEST(ContentHashTreeTest, HashTreeBasics) { … } TEST(ContentHashTreeTest, HashTreeMultipleLevels) { … } } // namespace extensions