// 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 <string> #include "build/blink_buildflags.h" #include "mojo/public/cpp/base/shared_memory_mojom_traits.h" #include "mojo/public/cpp/test_support/test_utils.h" #include "mojo/public/mojom/base/shared_memory.mojom.h" #include "testing/gtest/include/gtest/gtest.h" TEST(SharedMemoryMojomTest, ReadOnly) { … } #if BUILDFLAG(USE_BLINK) TEST(SharedMemoryMojomTest, Writable) { … } #endif // BUILDFLAG(USE_BLINK) TEST(SharedMemoryMojomTest, Unsafe) { … }