// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/public/utility/utility_thread.h" #include "third_party/abseil-cpp/absl/base/attributes.h" namespace content { namespace { // Keep the global UtilityThread in a TLS slot so it is impossible to access // incorrectly from the wrong thread. ABSL_CONST_INIT thread_local UtilityThread* utility_thread = …; } // namespace UtilityThread* UtilityThread::Get() { … } UtilityThread::UtilityThread() : … { … } UtilityThread::~UtilityThread() = default; } // namespace content