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
FileInNamespaceBuffer(int namespace_fd, const char *path, bool executable)
const uint8_t * GetMapping() const override
size_t GetSize() const override
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)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path