#include "base/memory/writable_shared_memory_region.h"
#include <utility>
#include "build/build_config.h"
namespace base {
WritableSharedMemoryRegion::CreateFunction*
WritableSharedMemoryRegion::create_hook_ = …;
WritableSharedMemoryRegion WritableSharedMemoryRegion::Create(size_t size) { … }
WritableSharedMemoryRegion WritableSharedMemoryRegion::Deserialize(
subtle::PlatformSharedMemoryRegion handle) { … }
subtle::PlatformSharedMemoryRegion
WritableSharedMemoryRegion::TakeHandleForSerialization(
WritableSharedMemoryRegion region) { … }
ReadOnlySharedMemoryRegion WritableSharedMemoryRegion::ConvertToReadOnly(
WritableSharedMemoryRegion region) { … }
UnsafeSharedMemoryRegion WritableSharedMemoryRegion::ConvertToUnsafe(
WritableSharedMemoryRegion region) { … }
WritableSharedMemoryRegion::WritableSharedMemoryRegion() = default;
WritableSharedMemoryRegion::WritableSharedMemoryRegion(
WritableSharedMemoryRegion&& region) = default;
WritableSharedMemoryRegion& WritableSharedMemoryRegion::operator=(
WritableSharedMemoryRegion&& region) = default;
WritableSharedMemoryRegion::~WritableSharedMemoryRegion() = default;
WritableSharedMemoryMapping WritableSharedMemoryRegion::Map(
SharedMemoryMapper* mapper) const { … }
WritableSharedMemoryMapping WritableSharedMemoryRegion::MapAt(
uint64_t offset,
size_t size,
SharedMemoryMapper* mapper) const { … }
bool WritableSharedMemoryRegion::IsValid() const { … }
WritableSharedMemoryRegion::WritableSharedMemoryRegion(
subtle::PlatformSharedMemoryRegion handle)
: … { … }
}