#include "third_party/blink/renderer/platform/fonts/font_global_context.h"
#include "base/memory/ptr_util.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_unique_name_lookup.h"
#include "third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h"
#include "third_party/blink/renderer/platform/privacy_budget/identifiability_digest_helpers.h"
#include "third_party/blink/renderer/platform/wtf/thread_specific.h"
static constexpr size_t kCachesMaxSize = …;
namespace blink {
ThreadSpecific<Persistent<FontGlobalContext>>&
GetThreadSpecificFontGlobalContextPool() { … }
FontGlobalContext& FontGlobalContext::Get() { … }
FontGlobalContext* FontGlobalContext::TryGet() { … }
FontGlobalContext::FontGlobalContext(PassKey)
: … { … }
FontGlobalContext::~FontGlobalContext() = default;
FontUniqueNameLookup* FontGlobalContext::GetFontUniqueNameLookup() { … }
IdentifiableToken FontGlobalContext::GetOrComputeTypefaceDigest(
const FontPlatformData& source) { … }
IdentifiableToken FontGlobalContext::GetOrComputePostScriptNameDigest(
const FontPlatformData& source) { … }
void FontGlobalContext::ClearMemory() { … }
void FontGlobalContext::Init() { … }
}