// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "services/tracing/public/cpp/perfetto/trace_string_lookup.h" #include "base/strings/pattern.h" ChromeThreadDescriptor; namespace tracing { struct ThreadType { … }; constexpr ThreadType kThreadTypes[] = …; ChromeThreadDescriptor::ThreadType GetThreadType( const char* const thread_name) { … } } // namespace tracing