#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <string.h>
#include <memory>
#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/lazy_instance.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread.h"
#include "base/trace_event/category_registry.h"
#include "base/trace_event/trace_category.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace trace_event {
bool Initializer() { … }
bool g_initializer_check = …;
class TraceCategoryTest : public testing::Test { … };
TEST_F(TraceCategoryTest, Basic) { … }
TEST_F(TraceCategoryTest, ThreadRaces) { … }
TEST_F(TraceCategoryTest, GetCategoryAtCompileTime) { … }
}
}