#include "components/services/font/public/cpp/mapped_font_file.h"
#include <utility>
#include "base/files/file_util.h"
#include "base/threading/thread_restrictions.h"
#include "skia/ext/skia_utils_base.h"
#include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkStream.h"
namespace font_service {
namespace internal {
MappedFontFile::MappedFontFile(uint32_t font_id)
: … { … }
bool MappedFontFile::Initialize(base::File file) { … }
SkMemoryStream* MappedFontFile::CreateMemoryStream() { … }
MappedFontFile::~MappedFontFile() { … }
void MappedFontFile::ReleaseProc(const void* ptr, void* context) { … }
}
}