#include "services/network/public/cpp/transferable_directory.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "services/network/public/cpp/network_service_buildflags.h"
namespace network {
TransferableDirectory::TransferableDirectory() = default;
TransferableDirectory::TransferableDirectory(TransferableDirectory&& other) { … }
TransferableDirectory::TransferableDirectory(const base::FilePath& path)
: … { … }
TransferableDirectory::TransferableDirectory(mojo::PlatformHandle handle)
: … { … }
TransferableDirectory::~TransferableDirectory() = default;
void TransferableDirectory::operator=(TransferableDirectory&& other) { … }
void TransferableDirectory::operator=(const base::FilePath& path) { … }
const base::FilePath& TransferableDirectory::path() const { … }
void TransferableDirectory::ClearPath() { … }
bool TransferableDirectory::IsOpenForTransferRequired() { … }
bool TransferableDirectory::NeedsMount() const { … }
mojo::PlatformHandle TransferableDirectory::TakeHandle() { … }
#if !BUILDFLAG(IS_DIRECTORY_TRANSFER_REQUIRED)
void TransferableDirectory::OpenForTransfer() { … }
[[nodiscard]] base::OnceClosure TransferableDirectory::Mount() { … }
#endif
}