Index: Source/core/html/parser/HTMLDocumentParser.h |
diff --git a/Source/core/html/parser/HTMLDocumentParser.h b/Source/core/html/parser/HTMLDocumentParser.h |
index af0feead60325315862ec6f884bec14f6ae36a09..b07a16c4f209de0a31973134db7269a86209088e 100644 |
--- a/Source/core/html/parser/HTMLDocumentParser.h |
+++ b/Source/core/html/parser/HTMLDocumentParser.h |
@@ -40,6 +40,7 @@ |
#include "core/html/parser/HTMLToken.h" |
#include "core/html/parser/HTMLTokenizer.h" |
#include "core/html/parser/HTMLTreeBuilderSimulator.h" |
+#include "core/html/parser/TextResourceDecoder.h" |
#include "core/html/parser/XSSAuditor.h" |
#include "core/html/parser/XSSAuditorDelegate.h" |
#include "platform/text/SegmentedString.h" |
@@ -96,6 +97,11 @@ public: |
TokenPreloadScannerCheckpoint preloadScannerCheckpoint; |
}; |
void didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>); |
+ void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&); |
+ |
+ virtual void appendBytes(const char* bytes, size_t length) OVERRIDE; |
+ virtual void flush() OVERRIDE FINAL; |
+ virtual void setDecoder(PassOwnPtr<TextResourceDecoder>) OVERRIDE FINAL; |
UseCounter* useCounter() { return UseCounter::getFrom(contextForParsingSession()); } |