#include "storage/browser/quota/storage_directory.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "components/services/storage/public/cpp/constants.h"
#include "storage/browser/quota/storage_directory_util.h"
namespace storage {
namespace {
const base::FilePath::CharType kDoomedPathName[] = …);
}
StorageDirectory::StorageDirectory(const base::FilePath& profile_path)
: … { … }
StorageDirectory::~StorageDirectory() = default;
bool StorageDirectory::Create() { … }
bool StorageDirectory::Doom() { … }
void StorageDirectory::ClearDoomed() { … }
bool StorageDirectory::CreateBucket(const BucketLocator& bucket) { … }
bool StorageDirectory::DoomBucket(const BucketLocator& bucket) { … }
void StorageDirectory::ClearDoomedBuckets() { … }
bool StorageDirectory::DoomPath(const base::FilePath& path) { … }
std::set<base::FilePath> StorageDirectory::EnumerateDoomedDirectories() { … }
std::set<base::FilePath> StorageDirectory::EnumerateDoomedBuckets() { … }
}