4#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FILE_IN_NAMESPACE_BUFFER_H_
5#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FILE_IN_NAMESPACE_BUFFER_H_
7#include "flutter/fml/mapping.h"
26 size_t GetSize()
const override;
46std::unique_ptr<fml::Mapping>
LoadFile(
int namespace_fd,
A mapping to a buffer for a file that has been loaded into a namespace.
bool IsDontNeedSafe() const override
const uint8_t * GetMapping() const override
size_t GetSize() const override
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
std::unique_ptr< fml::FileMapping > MakeFileMapping(const char *path, bool executable)
std::unique_ptr< fml::Mapping > LoadFile(int namespace_fd, const char *path, bool executable)