#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/loader/fetch/text_resource_decoder_options.h"
#include "third_party/blink/renderer/platform/language.h"
namespace blink {
TextResourceDecoderOptions::TextResourceDecoderOptions(
ContentType content_type,
const WTF::TextEncoding& default_encoding)
: … { … }
TextResourceDecoderOptions TextResourceDecoderOptions::CreateUTF8Decode() { … }
TextResourceDecoderOptions
TextResourceDecoderOptions::CreateUTF8DecodeWithoutBOM() { … }
TextResourceDecoderOptions TextResourceDecoderOptions::CreateWithAutoDetection(
ContentType content_type,
const WTF::TextEncoding& default_encoding,
const WTF::TextEncoding& hint_encoding,
const KURL& hint_url) { … }
TextResourceDecoderOptions::TextResourceDecoderOptions(
EncodingDetectionOption encoding_detection_option,
ContentType content_type,
const WTF::TextEncoding& default_encoding,
const char* hint_encoding,
const KURL& hint_url)
: … { … }
}