#include "base/files/block_tests_writing_to_special_dirs.h"
#include <utility>
#include "base/files/file_path.h"
#include "base/no_destructor.h"
#include "base/path_service.h"
namespace base {
std::optional<BlockTestsWritingToSpecialDirs>&
BlockTestsWritingToSpecialDirs::Get() { … }
bool BlockTestsWritingToSpecialDirs::CanWriteToPath(const FilePath& path) { … }
BlockTestsWritingToSpecialDirs::BlockTestsWritingToSpecialDirs(
std::vector<int> blocked_dirs,
FileWriteBlockedForTestingFunctionPtr failure_callback)
: … { … }
BlockTestsWritingToSpecialDirs::~BlockTestsWritingToSpecialDirs() = default;
}