#include "third_party/blink/renderer/platform/loader/fetch/bytes_consumer.h"
namespace blink {
namespace {
class ErroredBytesConsumer final : public BytesConsumer { … };
class ClosedBytesConsumer final : public BytesConsumer { … };
}
BytesConsumer* BytesConsumer::CreateErrored(const BytesConsumer::Error& error) { … }
BytesConsumer* BytesConsumer::CreateClosed() { … }
std::ostream& operator<<(std::ostream& out,
const BytesConsumer::PublicState& state) { … }
std::ostream& operator<<(std::ostream& out,
const BytesConsumer::Result& result) { … }
}