#define TextResourceDecoder_h
#include "TextEncoding.h"
+#include <wtf/RefCounted.h>
namespace WebCore {
bool checkForMetaCharset(const char*, size_t);
void detectJapaneseEncoding(const char*, size_t);
bool shouldAutoDetect() const;
+#if ENABLE(TIZEN_ALLOW_TEXT_ENCODING_DETECTION_ONLY_ONCE)
+ bool didAutoDetect() const { return m_didAutoDetect; }
+#endif
ContentType m_contentType;
TextEncoding m_encoding;
bool m_useLenientXMLDecoding; // Don't stop on XML decoding errors.
bool m_sawError;
bool m_usesEncodingDetector;
+#if ENABLE(TIZEN_ALLOW_TEXT_ENCODING_DETECTION_ONLY_ONCE)
+ bool m_didAutoDetect;
+#endif
OwnPtr<HTMLMetaCharsetParser> m_charsetParser;
};