#include "third_party/blink/renderer/platform/wtf/text/text_codec_replacement.h"
#include <memory>
#include "third_party/blink/renderer/platform/wtf/text/character_names.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace WTF {
TextCodecReplacement::TextCodecReplacement()
: … { … }
void TextCodecReplacement::RegisterEncodingNames(
EncodingNameRegistrar registrar) { … }
static std::unique_ptr<TextCodec> NewStreamingTextDecoderReplacement(
const TextEncoding&,
const void*) { … }
void TextCodecReplacement::RegisterCodecs(TextCodecRegistrar registrar) { … }
String TextCodecReplacement::Decode(const char*,
wtf_size_t length,
FlushBehavior,
bool,
bool& saw_error) { … }
}