#include "third_party/blink/renderer/modules/font_access/font_metadata.h"
#include <memory>
#include <utility>
#include "base/metrics/histogram_functions.h"
#include "base/numerics/safe_conversions.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/fileapi/blob.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_global_context.h"
#include "third_party/blink/renderer/platform/fonts/font_unique_name_lookup.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"
#include "third_party/skia/include/core/SkStream.h"
#include "third_party/skia/include/core/SkTypes.h"
namespace blink {
namespace {
void SetUpFontUniqueLookupIfNecessary() { … }
}
FontMetadata::FontMetadata(const FontEnumerationEntry& entry)
: … { … }
FontMetadata* FontMetadata::Create(const FontEnumerationEntry& entry) { … }
ScriptPromise<Blob> FontMetadata::blob(ScriptState* script_state) { … }
void FontMetadata::Trace(blink::Visitor* visitor) const { … }
void FontMetadata::BlobImpl(ScriptPromiseResolver<Blob>* resolver,
const String& postscriptName) { … }
}