// 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 "partition_alloc/partition_alloc_base/thread_annotations.h" #include "testing/gtest/include/gtest/gtest.h" namespace { class PA_LOCKABLE Lock { … }; class PA_SCOPED_LOCKABLE AutoLock { … }; class ThreadSafe { … }; void ThreadSafe::ExplicitIncrement() { … } void ThreadSafe::ImplicitIncrement() { … } TEST(PartitionAllocThreadAnnotationsTest, ExplicitIncrement) { … } TEST(PartitionAllocThreadAnnotationsTest, ImplicitIncrement) { … } } // anonymous namespace