#include "third_party/blink/renderer/modules/webdatabase/sqlite/sandboxed_vfs_delegate.h"
#include <tuple>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "build/build_config.h"
#include "third_party/blink/renderer/modules/webdatabase/web_database_host.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#if BUILDFLAG(IS_WIN)
#include <windows.h>
#endif
namespace blink {
namespace {
String StringFromFullPath(const base::FilePath& file_path) { … }
}
SandboxedVfsDelegate::SandboxedVfsDelegate() = default;
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) { … }
}