// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_MOJO_COMMON_MOJO_DATA_PIPE_READ_WRITE_H_ #define MEDIA_MOJO_COMMON_MOJO_DATA_PIPE_READ_WRITE_H_ #include "base/memory/raw_ptr.h" #include "base/memory/raw_span.h" #include "mojo/public/cpp/system/data_pipe.h" #include "mojo/public/cpp/system/simple_watcher.h" namespace media { // Read a certain amount of bytes from a mojo data pipe by request. class MojoDataPipeReader { … }; // Write a certain amount of data into a mojo data pipe by request. class MojoDataPipeWriter { … }; } // namespace media #endif // MEDIA_MOJO_COMMON_MOJO_DATA_PIPE_READ_WRITE_H_