chromium/mojo/public/cpp/base/shared_memory_utils.cc

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

#include "mojo/public/cpp/base/shared_memory_utils.h"

#include "base/memory/read_only_shared_memory_region.h"
#include "base/memory/shared_memory_hooks.h"
#include "base/memory/shared_memory_mapping.h"
#include "base/memory/unsafe_shared_memory_region.h"
#include "base/memory/writable_shared_memory_region.h"
#include "mojo/core/embedder/embedder.h"
#include "mojo/public/cpp/system/buffer.h"
#include "mojo/public/cpp/system/platform_handle.h"

namespace mojo {

namespace {

base::WritableSharedMemoryRegion CreateWritableSharedMemoryRegion(size_t size) {}

base::MappedReadOnlyRegion CreateReadOnlySharedMemoryRegion(
    size_t size,
    base::SharedMemoryMapper* mapper) {}

base::UnsafeSharedMemoryRegion CreateUnsafeSharedMemoryRegion(size_t size) {}

}  // namespace

void SharedMemoryUtils::InstallBaseHooks() {}

}  // namespace mojo