chromium/services/network/public/cpp/transferable_directory.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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() {}

// static
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  // BUILDFLAG(IS_DIRECTORY_TRANSFER_REQUIRED)

}  // namespace network