blob: 63c24a2fc3999858fc282f71ffdd1bf4aa8ed03d [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/core_export.h"
namespace blink {
class ExecutionContext;
class BytesConsumer;
// Creates two BytesConsumer both of which represent the data sequence that
// would be read from |src| and store them to |*dest1| and |*dest2|.
// |src| must not have a client when called.
CORE_EXPORT void BytesConsumerTee(ExecutionContext*,
BytesConsumer* src,
BytesConsumer** dest1,
BytesConsumer** dest2);
} // namespace blink