chromium/components/reporting/resources/resource_managed_buffer.cc

// Copyright 2023 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/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include <cstdint>
#include <memory>

#include "components/reporting/resources/resource_managed_buffer.h"

#include "base/check_op.h"
#include "base/memory/scoped_refptr.h"

#include "components/reporting/util/status.h"

namespace reporting {

ResourceManagedBuffer::ResourceManagedBuffer(
    scoped_refptr<ResourceManager> memory_resource)
    :{}

ResourceManagedBuffer::~ResourceManagedBuffer() {}

Status ResourceManagedBuffer::Allocate(size_t size) {}

void ResourceManagedBuffer::Clear() {}

char* ResourceManagedBuffer::at(size_t pos) {}

size_t ResourceManagedBuffer::size() const {}

bool ResourceManagedBuffer::empty() const {}

}  // namespace reporting