chromium/components/media_router/common/providers/cast/channel/mojo_data_pump.cc

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

#include "components/media_router/common/providers/cast/channel/mojo_data_pump.h"

#include <utility>

#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/numerics/safe_conversions.h"
#include "net/base/completion_once_callback.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"

namespace cast_channel {

MojoDataPump::MojoDataPump(mojo::ScopedDataPipeConsumerHandle receive_stream,
                           mojo::ScopedDataPipeProducerHandle send_stream)
    :{}

MojoDataPump::~MojoDataPump() {}

void MojoDataPump::Read(net::IOBuffer* io_buffer,
                        int count,
                        net::CompletionOnceCallback callback) {}

void MojoDataPump::Write(net::IOBuffer* io_buffer,
                         int io_buffer_size,
                         net::CompletionOnceCallback callback) {}

void MojoDataPump::ReceiveMore(MojoResult result,
                               const mojo::HandleSignalsState& state) {}

void MojoDataPump::SendMore(MojoResult result,
                            const mojo::HandleSignalsState& state) {}

}  // namespace cast_channel