#include "ipc/ipc_platform_file_attachment_posix.h"
#include <tuple>
#include <utility>
namespace IPC {
namespace internal {
PlatformFileAttachment::PlatformFileAttachment(base::PlatformFile file)
: … { … }
PlatformFileAttachment::PlatformFileAttachment(base::ScopedFD file)
: … { … }
PlatformFileAttachment::~PlatformFileAttachment() = default;
MessageAttachment::Type PlatformFileAttachment::GetType() const { … }
base::PlatformFile PlatformFileAttachment::TakePlatformFile() { … }
base::PlatformFile GetPlatformFile(
scoped_refptr<MessageAttachment> attachment) { … }
}
}