// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_LOADER_MERKLE_INTEGRITY_SOURCE_STREAM_H_ #define CONTENT_BROWSER_LOADER_MERKLE_INTEGRITY_SOURCE_STREAM_H_ #include <stdint.h> #include <string> #include <string_view> #include "base/containers/span.h" #include "content/common/content_export.h" #include "net/filter/filter_source_stream.h" #include "third_party/boringssl/src/include/openssl/sha.h" namespace content { // MerkleIntegritySourceStream decodes and validates content encoded with the // "mi-sha256" content encoding // (https://tools.ietf.org/html/draft-thomson-http-mice-03). // TODO(ksakamoto): This class should eventually live in src/net/filter/. class CONTENT_EXPORT MerkleIntegritySourceStream : public net::FilterSourceStream { … }; } // namespace content #endif // CONTENT_BROWSER_LOADER_MERKLE_INTEGRITY_SOURCE_STREAM_H_