// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mojo/public/cpp/system/data_pipe_drainer.h" #include <stdint.h> #include <utility> #include "base/functional/bind.h" #include "base/task/sequenced_task_runner.h" namespace mojo { DataPipeDrainer::DataPipeDrainer(Client* client, mojo::ScopedDataPipeConsumerHandle source) : … { … } DataPipeDrainer::~DataPipeDrainer() { … } void DataPipeDrainer::ReadData() { … } void DataPipeDrainer::WaitComplete(MojoResult result) { … } } // namespace mojo