#include "storage/browser/file_system/file_stream_test_utils.h"
#include <string>
#include <utility>
#include "base/types/expected.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/base/test_completion_callback.h"
#include "storage/browser/file_system/file_stream_reader.h"
#include "storage/browser/file_system/file_stream_writer.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace storage {
base::expected<std::string, net::Error> ReadFromReader(FileStreamReader& reader,
size_t bytes_to_read) { … }
int64_t GetLengthFromReader(FileStreamReader* reader) { … }
int WriteStringToWriter(FileStreamWriter* writer, const std::string& data) { … }
}