5#ifndef FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_
6#define FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_
13#include "flutter/fml/macros.h"
14#include "flutter/fml/task_runner.h"
15#include "flutter/fml/trace_event.h"
54 void Track(
const std::shared_ptr<TrackedPath>&
path);
69 std::vector<std::weak_ptr<TrackedPath>> paths_;
void Track(const std::shared_ptr< TrackedPath > &path)
static constexpr int kFramesOfVolatility
VolatilePathTracker(fml::RefPtr< fml::TaskRunner > ui_task_runner, bool enabled)
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
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
The fields of this struct must only accessed on the UI task runner.