#include <utility>
#include "base/trace_event/memory_allocator_dump.h"
#include "base/trace_event/memory_dump_request_args.h"
#include "base/trace_event/process_memory_dump.h"
#include "services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation_mojom_traits.h"
#include "services/resource_coordinator/public/mojom/memory_instrumentation/memory_instrumentation.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace memory_instrumentation {
MemoryAllocatorDump;
MemoryAllocatorDumpGuid;
MemoryDumpArgs;
MemoryDumpLevelOfDetail;
MemoryDumpRequestArgs;
MemoryDumpType;
ProcessMemoryDump;
ByRef;
Contains;
Eq;
Pointee;
namespace {
StructTraitsTest;
template <class MojomType, class Type>
void SerializeAndDeserialize(const Type& input, Type* output) { … }
}
TEST_F(StructTraitsTest, MemoryDumpRequestArgs) { … }
TEST_F(StructTraitsTest, MemoryAllocatorDumpEdge) { … }
TEST_F(StructTraitsTest, MemoryAllocatorDumpEdgeWithStringIDs) { … }
TEST_F(StructTraitsTest, MemoryAllocatorDumpEntry) { … }
TEST_F(StructTraitsTest, MemoryAllocatorDump) { … }
TEST_F(StructTraitsTest, ProcessMemoryDump) { … }
}