1# Copyright 2018 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5mojom = "//mojo/public/mojom/base/shared_memory.mojom" 6public_headers = [ 7 "//base/memory/platform_shared_memory_region.h", 8 "//base/memory/read_only_shared_memory_region.h", 9 "//base/memory/unsafe_shared_memory_region.h", 10 "//base/memory/writable_shared_memory_region.h", 11] 12traits_headers = [ "//mojo/public/cpp/base/shared_memory_mojom_traits.h" ] 13public_deps = [ 14 "//base", 15 "//mojo/public/cpp/base:shared_typemap_traits", 16] 17type_mappings = [ 18 "mojo_base.mojom.PlatformSharedMemoryHandle=base::subtle::PlatformSharedMemoryRegion::ScopedPlatformHandle[move_only]", 19 "mojo_base.mojom.PlatformSharedMemoryRegion=base::subtle::PlatformSharedMemoryRegion[move_only]", 20 "mojo_base.mojom.PlatformSharedMemoryRegion.Mode=base::subtle::PlatformSharedMemoryRegion::Mode", 21 "mojo_base.mojom.ReadOnlySharedMemoryRegion=base::ReadOnlySharedMemoryRegion[move_only,nullable_is_same_type]", 22 "mojo_base.mojom.UnsafeSharedMemoryRegion=base::UnsafeSharedMemoryRegion[move_only,nullable_is_same_type]", 23 "mojo_base.mojom.WritableSharedMemoryRegion=base::WritableSharedMemoryRegion[move_only,nullable_is_same_type]", 24] 25