mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-06-02 20:37:12 +03:00
Import chromium-64.0.3282.140
This commit is contained in:
23
net/tools/content_decoder_tool/content_decoder_tool.h
Normal file
23
net/tools/content_decoder_tool/content_decoder_tool.h
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef NET_TOOLS_CONTENT_DECODER_TOOL_CONTENT_DECODER_TOOL_H_
|
||||
#define NET_TOOLS_CONTENT_DECODER_TOOL_CONTENT_DECODER_TOOL_H_
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace net {
|
||||
|
||||
// Processes input from |input_stream| and writes result to |output_stream|.
|
||||
// The input will be decoded with |content_encodings|. If processing is
|
||||
// successful, return true.
|
||||
bool ContentDecoderToolProcessInput(std::vector<std::string> content_encodings,
|
||||
std::istream* input_stream,
|
||||
std::ostream* output_stream);
|
||||
|
||||
} // namespace net
|
||||
|
||||
#endif // NET_TOOLS_CONTENT_DECODER_TOOL_CONTENT_DECODER_TOOL_H_
|
||||
Reference in New Issue
Block a user