#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#ifndef GIN_ARRAY_BUFFER_H_
#define GIN_ARRAY_BUFFER_H_
#include <stddef.h>
#include <stdint.h>
#include "base/compiler_specific.h"
#include "base/memory/shared_memory_mapper.h"
#include "gin/converter.h"
#include "gin/gin_export.h"
#include "partition_alloc/partition_alloc.h"
#include "v8/include/v8-array-buffer.h"
#include "v8/include/v8-forward.h"
namespace gin {
class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator { … };
class GIN_EXPORT ArrayBuffer { … };
template<>
struct GIN_EXPORT Converter<ArrayBuffer> { … };
class GIN_EXPORT ArrayBufferView { … };
template<>
struct GIN_EXPORT Converter<ArrayBufferView> { … };
GIN_EXPORT base::SharedMemoryMapper* GetSharedMemoryMapperForArrayBuffers();
}
#endif