blob: 586ccbe18c425418a29dcb2ee252c9b52b3c8b5f [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
mojom = "//services/resource_coordinator/public/mojom/memory_instrumentation/memory_instrumentation.mojom"
public_headers = [
"//base/trace_event/memory_dump_request_args.h",
"//base/trace_event/process_memory_dump.h",
"//base/trace_event/memory_allocator_dump.h",
"//base/trace_event/memory_dump_manager.h",
]
traits_headers = [ "//services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation_mojom_traits.h" ]
sources = [
"//services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation_mojom_traits.cc",
"//services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation_mojom_traits.h",
]
deps = [
"//base",
]
type_mappings = [
"memory_instrumentation.mojom.DumpType=base::trace_event::MemoryDumpType",
"memory_instrumentation.mojom.LevelOfDetail=base::trace_event::MemoryDumpLevelOfDetail",
"memory_instrumentation.mojom.RequestArgs=base::trace_event::MemoryDumpRequestArgs",
"memory_instrumentation.mojom.RawAllocatorDumpEdge=base::trace_event::ProcessMemoryDump::MemoryAllocatorDumpEdge",
"memory_instrumentation.mojom.RawAllocatorDumpEntry=base::trace_event::MemoryAllocatorDump::Entry[move_only]",
"memory_instrumentation.mojom.RawAllocatorDump=std::unique_ptr<base::trace_event::MemoryAllocatorDump>[move_only]",
"memory_instrumentation.mojom.RawProcessMemoryDump=std::unique_ptr<base::trace_event::ProcessMemoryDump>[move_only,nullable_is_same_type]",
]