// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_NETWORK_WEB_BUNDLE_WEB_BUNDLE_CHUNKED_BUFFER_H_ #define SERVICES_NETWORK_WEB_BUNDLE_WEB_BUNDLE_CHUNKED_BUFFER_H_ #include <vector> #include "base/component_export.h" #include "base/containers/span.h" #include "base/gtest_prod_util.h" #include "base/memory/ref_counted_memory.h" #include "base/memory/scoped_refptr.h" #include "mojo/public/cpp/system/data_pipe_producer.h" namespace network { // WebBundleChunkedBuffer keeps the appended bytes as a RefCountedBytes, so we // don't need to copy the bytes while creating a DataSource to read the data // using a DataPipeProducer. class COMPONENT_EXPORT(NETWORK_SERVICE) WebBundleChunkedBuffer { … }; } // namespace network #endif // SERVICES_NETWORK_WEB_BUNDLE_WEB_BUNDLE_CHUNKED_BUFFER_H_