#include "net/tools/content_decoder_tool/content_decoder_tool.h"
#include <memory>
#include <utility>
#include "base/containers/adapters.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "net/base/completion_once_callback.h"
#include "net/base/io_buffer.h"
#include "net/base/test_completion_callback.h"
#include "net/filter/brotli_source_stream.h"
#include "net/filter/gzip_source_stream.h"
#include "net/filter/source_stream.h"
namespace net {
namespace {
const int kBufferLen = …;
const char kDeflate[] = …;
const char kGZip[] = …;
const char kXGZip[] = …;
const char kBrotli[] = …;
class StdinSourceStream : public SourceStream { … };
}
bool ContentDecoderToolProcessInput(std::vector<std::string> content_encodings,
std::istream* input_stream,
std::ostream* output_stream) { … }
}