chromium/third_party/blink/renderer/platform/loader/fetch/shared_buffer_bytes_consumer.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/loader/fetch/shared_buffer_bytes_consumer.h"

#include <utility>

#include "base/not_fatal_until.h"

namespace blink {

SharedBufferBytesConsumer::SharedBufferBytesConsumer(
    scoped_refptr<const SharedBuffer> data)
    :{}

BytesConsumer::Result SharedBufferBytesConsumer::BeginRead(const char** buffer,
                                                           size_t* available) {}

BytesConsumer::Result SharedBufferBytesConsumer::EndRead(size_t read_size) {}

void SharedBufferBytesConsumer::Cancel() {}

BytesConsumer::PublicState SharedBufferBytesConsumer::GetPublicState() const {}

String SharedBufferBytesConsumer::DebugName() const {}

}  // namespace blink