// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/device_signals/core/system_signals/hashing_utils.h" #include <array> #include <string> #include <vector> #include "base/containers/span.h" #include "base/files/file.h" #include "base/files/file_path.h" #include "base/location.h" #include "base/memory/page_size.h" #include "base/threading/scoped_blocking_call.h" #include "crypto/secure_hash.h" #include "crypto/sha2.h" namespace device_signals { std::optional<std::string> HashFile(const base::FilePath& file_path) { … } } // namespace device_signals