Chromium Code Reviews| Index: Source/core/html/parser/HTMLDocumentParser.h |
| diff --git a/Source/core/html/parser/HTMLDocumentParser.h b/Source/core/html/parser/HTMLDocumentParser.h |
| index b41beae929c1c532d848ad2f2096f35b4cfab52a..c881dd2ab483a06242687450ba327a0b2f949016 100644 |
| --- a/Source/core/html/parser/HTMLDocumentParser.h |
| +++ b/Source/core/html/parser/HTMLDocumentParser.h |
| @@ -29,6 +29,7 @@ |
| #include "core/dom/ParserContentPolicy.h" |
| #include "core/dom/ScriptableDocumentParser.h" |
| #include "core/fetch/ResourceClient.h" |
| +#include "core/fetch/TextResourceDecoder.h" |
| #include "core/html/parser/BackgroundHTMLInputStream.h" |
| #include "core/html/parser/CompactHTMLToken.h" |
| #include "core/html/parser/HTMLInputStream.h" |
| @@ -95,6 +96,10 @@ public: |
| TokenPreloadScannerCheckpoint preloadScannerCheckpoint; |
| }; |
| void didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>); |
| + void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&); |
|
abarth-chromium
2013/11/18 06:57:10
Can we pass by value instead of by const reference
oystein (OOO til 10th of July)
2013/11/18 22:18:42
Hm AFAIK normally functors only accept const-versi
oystein (OOO til 10th of July)
2013/11/18 22:31:03
Yep the type trait at wtf/Functional.h:325 should
|
| + |
| + virtual void appendBytes(const char* bytes, size_t length) OVERRIDE; |
| + virtual void flush() OVERRIDE; |
| protected: |
| virtual void insert(const SegmentedString&) OVERRIDE; |