// 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/web_package/signed_web_bundles/signed_web_bundle_utils.h" #include <cstdint> #include "base/containers/extend.h" #include "base/containers/span.h" #include "base/containers/span_writer.h" namespace web_package { namespace { void AddItemToPayload(std::vector<uint8_t>& payload, base::span<const uint8_t> item) { … } } // namespace std::vector<uint8_t> CreateSignaturePayload( const SignedWebBundleSignatureData& data) { … } } // namespace web_package