#include "third_party/blink/renderer/modules/file_system_access/file_system_change_record.h"
#include <optional>
#include "third_party/blink/renderer/bindings/modules/v8/v8_file_system_change_type.h"
#include "third_party/blink/renderer/modules/file_system_access/file_system_handle.h"
namespace blink {
namespace {
constexpr V8FileSystemChangeType::Enum ToChangeTypeEnum(
mojom::blink::FileSystemAccessChangeType::Tag tag) { … }
}
FileSystemChangeRecord::FileSystemChangeRecord(
FileSystemHandle* root,
FileSystemHandle* changed_handle,
const Vector<String>& relative_path,
mojom::blink::FileSystemAccessChangeTypePtr type)
: … { … }
const char* FileSystemChangeRecord::type() const { … }
std::optional<Vector<String>> FileSystemChangeRecord::relativePathMovedFrom()
const { … }
void FileSystemChangeRecord::Trace(Visitor* visitor) const { … }
}