#include "third_party/blink/renderer/core/loader/resource/text_resource.h"
#include "third_party/blink/renderer/core/html/parser/text_resource_decoder.h"
#include "third_party/blink/renderer/platform/loader/fetch/text_resource_decoder_options.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
TextResource::TextResource(const ResourceRequest& resource_request,
ResourceType type,
const ResourceLoaderOptions& options,
const TextResourceDecoderOptions& decoder_options)
: … { … }
TextResource::~TextResource() = default;
void TextResource::SetEncoding(const String& chs) { … }
WTF::TextEncoding TextResource::Encoding() const { … }
String TextResource::DecodedText() const { … }
}