#ifdef UNSAFE_BUFFERS_BUILD
#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 { … }
}