Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: Source/core/fetch/TextResourceDecoder.h

Issue 74513003: Moved text decoding to the parser thread (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_step25
Patch Set: DocumentEncodingData is now constructed from a decoder Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/fetch/TextResourceDecoder.h
diff --git a/Source/core/fetch/TextResourceDecoder.h b/Source/core/fetch/TextResourceDecoder.h
index 4c7734781487fe8e1f3cdd0cc5ec5cc53a8b076d..a568d05690eeb521934ecd65ce03c7fa1a9f95dd 100644
--- a/Source/core/fetch/TextResourceDecoder.h
+++ b/Source/core/fetch/TextResourceDecoder.h
@@ -28,6 +28,7 @@
namespace WebCore {
+class DocumentEncodingData;
class HTMLMetaCharsetParser;
class TextResourceDecoder {
@@ -83,6 +84,8 @@ private:
void detectJapaneseEncoding(const char*, size_t);
bool shouldAutoDetect() const;
+
eseidel 2013/11/19 22:27:45 Intentional?
oystein (OOO til 10th of July) 2013/11/19 22:52:19 Whoops. Nope.
+
ContentType m_contentType;
WTF::TextEncoding m_encoding;
OwnPtr<TextCodec> m_codec;

Powered by Google App Engine
This is Rietveld 408576698