chromium/chrome/test/chromedriver/net/pipe_writer_posix.cc

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

#include "chrome/test/chromedriver/net/pipe_writer_posix.h"

#include <errno.h>

#include <memory>
#include <utility>

#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "base/task/current_thread.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"

#if BUILDFLAG(IS_FUCHSIA)
#include <poll.h>
#include <sys/ioctl.h>
#endif  // BUILDFLAG(IS_FUCHSIA)

PipeWriterPosix::PipeWriterPosix()
    :{}

PipeWriterPosix::~PipeWriterPosix() {}

int PipeWriterPosix::Bind(base::ScopedFD fd) {}

bool PipeWriterPosix::IsConnected() const {}

int PipeWriterPosix::Write(net::IOBuffer* buf,
                           int buf_len,
                           net::CompletionOnceCallback callback) {}

int PipeWriterPosix::WaitForWrite(net::IOBuffer* buf,
                                  int buf_len,
                                  net::CompletionOnceCallback callback) {}

int PipeWriterPosix::DoWrite(net::IOBuffer* buf, int buf_len) {}

void PipeWriterPosix::Close() {}

void PipeWriterPosix::DetachFromThread() {}

void PipeWriterPosix::OnFileCanReadWithoutBlocking(int fd) {}

void PipeWriterPosix::OnFileCanWriteWithoutBlocking(int fd) {}