chromium/third_party/blink/renderer/platform/wtf/text/text_codec_replacement.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace WTF