#include "storage/browser/file_system/obfuscated_file_util_disk_delegate.h"
#include "base/files/file_util.h"
#include "storage/browser/file_system/native_file_util.h"
namespace storage {
ObfuscatedFileUtilDiskDelegate::ObfuscatedFileUtilDiskDelegate() = default;
ObfuscatedFileUtilDiskDelegate::~ObfuscatedFileUtilDiskDelegate() = default;
bool ObfuscatedFileUtilDiskDelegate::DirectoryExists(
const base::FilePath& path) { … }
size_t ObfuscatedFileUtilDiskDelegate::ComputeDirectorySize(
const base::FilePath& path) { … }
bool ObfuscatedFileUtilDiskDelegate::DeleteFileOrDirectory(
const base::FilePath& path,
bool recursive) { … }
bool ObfuscatedFileUtilDiskDelegate::IsLink(const base::FilePath& file_path) { … }
bool ObfuscatedFileUtilDiskDelegate::PathExists(const base::FilePath& path) { … }
NativeFileUtil::CopyOrMoveMode
ObfuscatedFileUtilDiskDelegate::CopyOrMoveModeForDestination(
const FileSystemURL& dest_url,
bool copy) { … }
base::File ObfuscatedFileUtilDiskDelegate::CreateOrOpen(
const base::FilePath& path,
uint32_t file_flags) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::EnsureFileExists(
const base::FilePath& path,
bool* created) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::CreateDirectory(
const base::FilePath& path,
bool exclusive,
bool recursive) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::GetFileInfo(
const base::FilePath& path,
base::File::Info* file_info) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::Touch(
const base::FilePath& path,
const base::Time& last_access_time,
const base::Time& last_modified_time) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::Truncate(
const base::FilePath& path,
int64_t length) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::CopyOrMoveFile(
const base::FilePath& src_path,
const base::FilePath& dest_path,
FileSystemOperation::CopyOrMoveOptionSet options,
NativeFileUtil::CopyOrMoveMode mode) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::CopyInForeignFile(
const base::FilePath& src_path,
const base::FilePath& dest_path,
FileSystemOperation::CopyOrMoveOptionSet options,
NativeFileUtil::CopyOrMoveMode mode) { … }
base::File::Error ObfuscatedFileUtilDiskDelegate::DeleteFile(
const base::FilePath& path) { … }
}