#include "extensions/browser/content_verifier/content_hash.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "extensions/browser/computed_hashes.h"
#include "extensions/browser/content_hash_tree.h"
#include "extensions/browser/content_verifier/content_verifier_delegate.h"
#include "extensions/browser/content_verifier/test_utils.h"
#include "extensions/browser/extension_file_task_runner.h"
#include "extensions/browser/extensions_test.h"
#include "extensions/browser/verified_contents.h"
#include "extensions/common/constants.h"
#include "extensions/common/file_util.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/network/test/test_url_loader_factory.h"
namespace extensions {
class ContentHashUnittest : public ExtensionsTest { … };
TEST_F(ContentHashUnittest, ExtensionWithSignedHashes) { … }
TEST_F(ContentHashUnittest, ExtensionWithUnsignedHashes) { … }
TEST_F(ContentHashUnittest, ExtensionWithoutHashes) { … }
TEST_F(ContentHashUnittest, SignedHashesWithIncorrectExtensionId) { … }
}