chromium/content/public/renderer/render_thread.cc

// 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/renderer/render_thread.h"

#include "base/no_destructor.h"
#include "base/threading/thread_checker_impl.h"
#include "third_party/abseil-cpp/absl/base/attributes.h"

namespace content {

namespace {

// Keep the global RenderThread in a TLS slot so it is impossible to access
// incorrectly from the wrong thread.
ABSL_CONST_INIT thread_local RenderThread* render_thread =;

static const base::ThreadCheckerImpl& GetThreadChecker() {}

}  // namespace

RenderThread* RenderThread::Get() {}

bool RenderThread::IsMainThread() {}

RenderThread::RenderThread() :{}

RenderThread::~RenderThread() = default;

}  // namespace content