#include "components/services/storage/sandboxed_vfs_delegate.h"
#include <cstdint>
#include <optional>
#include <utility>
#include "base/files/file.h"
#include "base/files/file_error_or.h"
#include "base/files/file_path.h"
#include "components/services/storage/public/cpp/filesystem/filesystem_proxy.h"
namespace storage {
SandboxedVfsDelegate::SandboxedVfsDelegate(
std::unique_ptr<FilesystemProxy> filesystem)
: … { … }
SandboxedVfsDelegate::~SandboxedVfsDelegate() = default;
base::File SandboxedVfsDelegate::OpenFile(const base::FilePath& file_path,
int sqlite_requested_flags) { … }
int SandboxedVfsDelegate::DeleteFile(const base::FilePath& file_path,
bool sync_dir) { … }
std::optional<sql::SandboxedVfs::PathAccessInfo>
SandboxedVfsDelegate::GetPathAccess(const base::FilePath& file_path) { … }
}